~ronnie.vd.c/loco-team-portal/494950_db_approved

« back to all changes in this revision

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

  • Committer: Daniel Holbach
  • Date: 2009-12-21 11:03:49 UTC
  • Revision ID: daniel.holbach@canonical.com-20091221110349-bo2zmme5i2e4egif
start at revision 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "base.html" %}
 
2
{% load i18n %}
 
3
 
 
4
{% block title %}{% trans "Ubuntu LoCo Teams List" %}{% endblock %}
 
5
 
 
6
{% block content %}
 
7
<div class="mainpage">
 
8
 
 
9
<h1>{% trans "Ubuntu LoCo Teams" %}</h1>
 
10
 
 
11
{% if teams %}
 
12
<p><b><a href="reapprovals">Upcoming Reapprovals</a></b></p>
 
13
<p>{% trans "Select a team below to see more information about it:" %}</p>
 
14
 
 
15
{% load list_to_columns %}
 
16
<table width="100%">
 
17
<tr>
 
18
<td width="100%" valign="top" class="col2_container">
 
19
{% list_to_columns teams as columns 2 %}
 
20
{% for column in columns %}
 
21
<div class="col2_column">
 
22
<ul>
 
23
{% for team in column %}
 
24
{% if team.approved %}
 
25
<li class="approved"><a href="{% url team-detail team.lp_name %}">{{ team.translated_name }}</a></li>
 
26
{% else %}
 
27
<li class="unapproved"><a href="{% url team-detail team.lp_name %}">{{ team.translated_name }}</a></li>
 
28
{% endif %}
 
29
{% endfor %}
 
30
</ul>
 
31
</div>
 
32
{% endfor %}
 
33
</td>
 
34
</tr>
 
35
</table>
 
36
 
 
37
{% else %}
 
38
<p>{% trans "There are currently no teams in the Ubuntu LoCo Directory. :(" %}</p>
 
39
{% endif %}
 
40
 
 
41
</div>
 
42
{% endblock %}