Count numbers of application, assignments and participants. Some minor style fixes.

This commit is contained in:
Emanuel Schuetze 2011-09-07 19:35:06 +02:00
parent dc782739cc
commit fa71a1236d
7 changed files with 10 additions and 7 deletions

View File

@ -11,7 +11,7 @@
<li class="{% active request '/agenda/new/' %}"><a href="{% url item_new 'ItemText' %}">{%trans "New item" %}</a></li>
{% endif %}
{% if perms.agenda.can_see_projector %}
<li><a href="{% url item_beamer %}"><img src="/static/images/icons/view-presentation.png"> {%trans 'Projector live view' %}</a></li>
<li><a href="{% url item_beamer %}"><img src="/static/images/icons/video-projector.png"> {%trans 'Projector view' %}</a></li>
{% endif %}
</ul>
{% endblock %}

View File

@ -46,9 +46,10 @@
</em>
</div>
<div style="text-align:right; padding-bottom:3px;">
{% trans "Adjust projector live view" %}:
{% trans "Adjust projector view" %}:
<a class="beamer_edit" href="{% url beamer_bigger %}"><img src="/static/images/icons/zoom-in.png"></a> <a class="beamer_edit" href="{% url beamer_smaller %}"><img src="/static/images/icons/zoom-out.png"></a>
<a class="beamer_edit" href="{% url beamer_up %}"><img src="/static/images/icons/go-up.png"></a> <a class="beamer_edit" href="{% url beamer_down %}"><img src="/static/images/icons/go-down.png"></a>
{# <a href="{% url item_activate 0 %}"><img src="/static/images/icons/view-restore.png"></a> #}
</div>
{% endif %}
<table id="menu-overview" class="agendatable">
@ -131,7 +132,7 @@
</td>
{% endif %}
<td style="width: 1px;white-space: nowrap;">
<a href="{{ item.get_absolute_url }}"><img src="/static/images/icons/document-preview.png" title="{% trans 'Show beamer preview' %}"></a>
<a href="{{ item.get_absolute_url }}"><img src="/static/images/icons/document-preview.png" title="{% trans 'Show projector preview' %}"></a>
{% if perms.agenda.can_manage_agenda %}
<a href="{% url item_edit item.id %}"><img src="/static/images/icons/document-edit.png" title="{% trans 'Edit item' %}"></a>

View File

@ -23,7 +23,8 @@
</select>
</form>
</p>
<br>
{{ applications|length }}
{% blocktrans count counter=applications|length %}Application{% plural %}Applications{% endblocktrans %}
<table>
<tr>
<th><a href="?sort=number{% if 'number' in request.GET.sort and 'reverse' not in request.GET %}&reverse{%endif%}">{%trans "Number" %}</a></th>

View File

@ -14,7 +14,8 @@
</select>
</form>
</p>
<br>
{{ assignments|length }}
{% blocktrans count counter=assignments|length %}Election{% plural %}Elections{% endblocktrans %}
<table>
<tr>
<th><a href="?sort=name{% if 'name' in request.GET.sort and 'reverse' not in request.GET %}&reverse{%endif%}">{%trans "Elections" %}</a></th>

View File

@ -34,9 +34,9 @@
{% endfor %}
</select>
</form>
{{ users|length }} {% trans "Shown Users" %}
</p>
<br>
{{ users|length }}
{% blocktrans count counter=users|length %}Participant{% plural %}Participants{% endblocktrans %}
<table>
<tr>
<th><a href="?sort=first_name{% if 'first_name' in request.GET.sort and 'reverse' not in request.GET %}&reverse{%endif%}">{%trans "First Name" %}</a></th>

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 B