Django

Code

root/django/trunk/django/contrib/admin/templates/admin/change_list_results.html

Revision 7294, 449 bytes (checked in by mtredinnick, 8 months ago)

Added "svn:eol-style native" to every text file in the tree (*.txt, *.html,
*.py, *.xml and AUTHORS, etc). Added "svn:ignore *.pyc" to some directories in
tests/regressiontests/ that were previously missing it.

Fixed #6545, #6801.

  • Property svn:eol-style set to native
Line 
1 {% if results %}
2 <table cellspacing="0">
3 <thead>
4 <tr>
5 {% for header in result_headers %}<th{{ header.class_attrib }}>
6 {% if header.sortable %}<a href="{{ header.url }}">{% endif %}
7 {{ header.text|capfirst }}
8 {% if header.sortable %}</a>{% endif %}</th>{% endfor %}
9 </tr>
10 </thead>
11 <tbody>
12 {% for result in results %}
13 <tr class="{% cycle 'row1' 'row2' %}">{% for item in result %}{{ item }}{% endfor %}</tr>
14 {% endfor %}
15 </tbody>
16 </table>
17 {% endif %}
Note: See TracBrowser for help on using the browser.