Hello site
[auf_framonde.git] / eggs / Django-1.4.5-py2.7.egg / django / contrib / admin / templates / admin / change_list_results.html
1 {% load i18n admin_static %}
2 {% if result_hidden_fields %}
3 <div class="hiddenfields">{# DIV for HTML validation #}
4 {% for item in result_hidden_fields %}{{ item }}{% endfor %}
5 </div>
6 {% endif %}
7 {% if results %}
8 <div class="results">
9 <table id="result_list">
10 <thead>
11 <tr>
12 {% for header in result_headers %}
13 <th scope="col" {{ header.class_attrib }}>
14 {% if header.sortable %}
15 {% if header.sort_priority > 0 %}
16 <div class="sortoptions">
17 <a class="sortremove" href="{{ header.url_remove }}" title="{% trans "Remove from sorting" %}"></a>
18 {% if num_sorted_fields > 1 %}<span class="sortpriority" title="{% blocktrans with priority_number=header.sort_priority %}Sorting priority: {{ priority_number }}{% endblocktrans %}">{{ header.sort_priority }}</span>{% endif %}
19 <a href="{{ header.url_toggle }}" class="toggle {% if header.ascending %}ascending{% else %}descending{% endif %}" title="{% trans "Toggle sorting" %}"></a>
20 </div>
21 {% endif %}
22 {% endif %}
23 <div class="text">{% if header.sortable %}<a href="{{ header.url_primary }}">{{ header.text|capfirst }}</a>{% else %}<span>{{ header.text|capfirst }}</span>{% endif %}</div>
24 <div class="clear"></div>
25 </th>{% endfor %}
26 </tr>
27 </thead>
28 <tbody>
29 {% for result in results %}
30 {% if result.form.non_field_errors %}
31 <tr><td colspan="{{ result|length }}">{{ result.form.non_field_errors }}</td></tr>
32 {% endif %}
33 <tr class="{% cycle 'row1' 'row2' %}">{% for item in result %}{{ item }}{% endfor %}</tr>
34 {% endfor %}
35 </tbody>
36 </table>
37 </div>
38 {% endif %}