Ticket #208: 208-update-templates.patch
File 208-update-templates.patch, 8.8 KB (added by , 17 years ago) |
---|
-
django/contrib/admin/templates/admin/change_list_results.html
10 10 </thead> 11 11 <tbody> 12 12 {% for result in results %} 13 <tr class="{% cycle row1,row2%}">{% for item in result %}{{ item }}{% endfor %}</tr>13 <tr class="{% cycle 'row1' 'row2' %}">{% for item in result %}{{ item }}{% endfor %}</tr> 14 14 {% endfor %} 15 15 </tbody> 16 16 </table> -
django/contrib/databrowse/templates/databrowse/calendar_day.html
10 10 11 11 <ul class="objectlist"> 12 12 {% for object in object_list %} 13 <li class="{% cycle odd,even%}"><a href="{{ object.url }}">{{ object|escape }}</a></li>13 <li class="{% cycle 'odd' 'even' %}"><a href="{{ object.url }}">{{ object|escape }}</a></li> 14 14 {% endfor %} 15 15 </ul> 16 16 -
django/contrib/databrowse/templates/databrowse/calendar_homepage.html
10 10 11 11 <ul class="objectlist"> 12 12 {% for field in field_list %} 13 <li class="{% cycle odd,even%}"><a href="{{ field.name }}/">{{ model.verbose_name_plural|capfirst }} by {{ field.verbose_name }}</a></li>13 <li class="{% cycle 'odd' 'even' %}"><a href="{{ field.name }}/">{{ model.verbose_name_plural|capfirst }} by {{ field.verbose_name }}</a></li> 14 14 {% endfor %} 15 15 </ul> 16 16 -
django/contrib/databrowse/templates/databrowse/calendar_main.html
10 10 11 11 <ul class="objectlist"> 12 12 {% for year in date_list %} 13 <li class="{% cycle odd,even%}"><a href="{{ year.year }}/">{{ year.year }}</a></li>13 <li class="{% cycle 'odd' 'even' %}"><a href="{{ year.year }}/">{{ year.year }}</a></li> 14 14 {% endfor %} 15 15 </ul> 16 16 -
django/contrib/databrowse/templates/databrowse/calendar_month.html
10 10 11 11 <ul class="objectlist"> 12 12 {% for object in object_list %} 13 <li class="{% cycle odd,even%}"><a href="{{ object.url }}">{{ object|escape }}</a></li>13 <li class="{% cycle 'odd' 'even' %}"><a href="{{ object.url }}">{{ object|escape }}</a></li> 14 14 {% endfor %} 15 15 </ul> 16 16 -
django/contrib/databrowse/templates/databrowse/calendar_year.html
10 10 11 11 <ul class="objectlist"> 12 12 {% for month in date_list %} 13 <li class="{% cycle odd,even%}"><a href="{{ month|date:"M"|lower }}/">{{ month|date:"F" }}</a></li>13 <li class="{% cycle 'odd' 'even' %}"><a href="{{ month|date:"M"|lower }}/">{{ month|date:"F" }}</a></li> 14 14 {% endfor %} 15 15 </ul> 16 16 -
django/contrib/databrowse/templates/databrowse/choice_detail.html
10 10 11 11 <ul class="objectlist"> 12 12 {% for object in object_list %} 13 <li class="{% cycle odd,even%}"><a href="{{ object.url }}">{{ object|escape }}</a></li>13 <li class="{% cycle 'odd' 'even' %}"><a href="{{ object.url }}">{{ object|escape }}</a></li> 14 14 {% endfor %} 15 15 </ul> 16 16 -
django/contrib/databrowse/templates/databrowse/choice_list.html
10 10 11 11 <ul class="objectlist"> 12 12 {% for choice in field.choices %} 13 <li class="{% cycle odd,even%}"><a href="{{ choice.url }}">{{ choice.label|escape }}</a></li>13 <li class="{% cycle 'odd' 'even' %}"><a href="{{ choice.url }}">{{ choice.label|escape }}</a></li> 14 14 {% endfor %} 15 15 </ul> 16 16 -
django/contrib/databrowse/templates/databrowse/fieldchoice_detail.html
10 10 11 11 <ul class="objectlist"> 12 12 {% for object in object_list %} 13 <li class="{% cycle odd,even%}"><a href="{{ object.url }}">{{ object|escape }}</a></li>13 <li class="{% cycle 'odd' 'even' %}"><a href="{{ object.url }}">{{ object|escape }}</a></li> 14 14 {% endfor %} 15 15 </ul> 16 16 -
django/contrib/databrowse/templates/databrowse/fieldchoice_homepage.html
10 10 11 11 <ul class="objectlist"> 12 12 {% for field in field_list %} 13 <li class="{% cycle odd,even%}"><a href="{{ field.name }}/">{{ model.verbose_name_plural|capfirst }} by {{ field.verbose_name }}</a></li>13 <li class="{% cycle 'odd' 'even' %}"><a href="{{ field.name }}/">{{ model.verbose_name_plural|capfirst }} by {{ field.verbose_name }}</a></li> 14 14 {% endfor %} 15 15 </ul> 16 16 -
django/contrib/databrowse/templates/databrowse/fieldchoice_list.html
10 10 11 11 <ul class="objectlist"> 12 12 {% for object in object_list %} 13 <li class="{% cycle odd,even%}"><a href="{{ object|iriencode }}/">{{ object|escape }}</a></li>13 <li class="{% cycle 'odd' 'even' %}"><a href="{{ object|iriencode }}/">{{ object|escape }}</a></li> 14 14 {% endfor %} 15 15 </ul> 16 16 -
django/contrib/databrowse/templates/databrowse/homepage.html
7 7 {% block content %} 8 8 9 9 {% for model in model_list %} 10 <div class="modelgroup {% cycle even,odd%}">10 <div class="modelgroup {% cycle 'even' 'odd' %}"> 11 11 <h2><a href="{{ model.url }}">{{ model.verbose_name_plural|capfirst }}</a></h2> 12 12 <p> 13 13 {% for object in model.sample_objects %} -
django/contrib/databrowse/templates/databrowse/model_detail.html
12 12 13 13 <ul class="objectlist"> 14 14 {% for object in model.objects %} 15 <li class="{% cycle odd,even%}"><a href="{{ object.url }}">{{ object|escape }}</a></li>15 <li class="{% cycle 'odd' 'even' %}"><a href="{{ object.url }}">{{ object|escape }}</a></li> 16 16 {% endfor %} 17 17 </ul> 18 18 -
django/contrib/databrowse/templates/databrowse/object_detail.html
10 10 11 11 <table class="objectinfo"> 12 12 {% for field in object.fields %} 13 <tr class="{% cycle odd,even%}">13 <tr class="{% cycle 'odd' 'even' %}"> 14 14 <th>{{ field.field.verbose_name|capfirst }}</th> 15 15 <td> 16 16 {% if field.urls %} … … 29 29 {% if related_object.object_list %} 30 30 <ul class="objectlist"> 31 31 {% for object in related_object.object_list %} 32 <li class="{% cycle odd,even%}"><a href="{{ object.url }}">{{ object|escape }}</a></li>32 <li class="{% cycle 'odd' 'even' %}"><a href="{{ object.url }}">{{ object|escape }}</a></li> 33 33 {% endfor %} 34 34 </ul> 35 35 {% else %}