summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/templates/patchsearch.html
blob: 93da3cc4b4b24a7123868c900479ed739920f635 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{%extends "base.html"%}
{%load commitfest %}
{%block contents%}

<table class="table table-striped table-bordered table-hover table-condensed">
 <thead>
  <tr>
   <th>Patch</th>
   <th>Status</th>
   <th>Author</th>
  </tr>
 </thead>
 <tbody>
{%for p in patches %}
 {%with p.patchoncommitfest_set.all as cfs %}
  <tr>
   <td>{%with cfs|first as firstcf%}<a href="/{{firstcf.commitfest_id}}/{{p.id}}/">{{p}}</a>{%endwith%}</td>
   <td>{%for c in cfs %}
	<div style="margin-bottom: 3px;">{{c.commitfest}}: <span class="label label-default">{{c.statusstring}}</span></div>
	{%endfor%}</td>
   <td>{{p.authors_string|default:''}}</td>
  </tr>
 {%endwith%}
{%endfor%}
 </tbody>
</table>

{%endblock%}