~dholbach/loco-team-portal/544894

« back to all changes in this revision

Viewing changes to loco_directory/templates/teams/team_reapprovals.html

  • Committer: Daniel Holbach
  • Date: 2010-04-27 14:45:00 UTC
  • Revision ID: daniel.holbach@canonical.com-20100427144500-hle231f6furgl7i7
separate reapprovals into 6 months and beyond

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
<h1>{% trans "Ubuntu LoCo Team Approvals List" %}</h1>
10
10
 
11
 
{% if approved_teams %}
12
 
<table width="100%">
13
 
<tr>
14
 
<td width="100%" valign="top" class="col2_container">
15
 
<ul>
16
 
{% for team in approved_teams %}
17
 
<li class="approved"><a href="{% url team-detail team.lp_name %}">{{ team.name }}</a>: {{ team.expires_date }}</li>
18
 
{% endfor %}
19
 
</ul>
20
 
</td>
21
 
</tr>
22
 
</table>
23
 
 
24
 
{% else %}
 
11
{% if next_teams %}
 
12
<h2>{% trans "Reapprovals in the next 6 months" %}</h2>
 
13
<table width="100%">
 
14
<tr>
 
15
<td width="100%" valign="top" class="col2_container">
 
16
<ul>
 
17
{% for team in next_teams %}
 
18
<li class="approved"><a href="{% url team-detail team.lp_name %}">{{ team.name }}</a>: {{ team.expires_date }}</li>
 
19
{% endfor %}
 
20
</ul>
 
21
</td>
 
22
</tr>
 
23
</table>
 
24
{% endif %}
 
25
 
 
26
{% if next_teams and later_teams %}
 
27
<hr />
 
28
{% endif %}
 
29
 
 
30
{% if later_teams %}
 
31
<h2>{% trans "Reapprovals later on" %}</h2>
 
32
<table width="100%">
 
33
<tr>
 
34
<td width="100%" valign="top" class="col2_container">
 
35
<ul>
 
36
{% for team in later_teams %}
 
37
<li class="approved"><a href="{% url team-detail team.lp_name %}">{{ team.name }}</a>: {{ team.expires_date }}</li>
 
38
{% endfor %}
 
39
</ul>
 
40
</td>
 
41
</tr>
 
42
</table>
 
43
{% endif %}
 
44
 
 
45
{% if not next_teams and not later_teams %}
25
46
<p>{% trans "There are currently no approved teams in the Ubuntu LoCo Directory. :(" %}</p>
26
47
{% endif %}
27
48