Merge pull request #397 from mrkiwi-nz/master

Changes to templates to make them compatible with django 1.10
This commit is contained in:
Ross Poulton 2016-06-10 08:58:55 +10:00 committed by GitHub
commit 0837643c17
4 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@
</tr>
</thead>
<tbody>
{% for query in sql_queries %}<tr class="{% cycle odd,even %}">
{% for query in sql_queries %}<tr class="{% cycle 'odd' 'even' %}">
<td>{{ forloop.counter }}</td>
<td>{{ query.sql|escape }}</td>
<td>{{ query.time }}</td>

View File

@ -14,7 +14,7 @@
</thead>
<tbody>
{% for ignore in ignore_list %}
<tr class='row_{% cycle odd,even %}'>
<tr class='row_{% cycle 'odd' 'even' %}'>
<td>{{ ignore.name }}</td>
<td>{{ ignore.email_address }}</td>
<td>{{ ignore.date }}</td>

View File

@ -37,7 +37,7 @@
</thead>
<tbody>
{% for d in data %}
<tr class='row_{% cycle odd,even %}'>{% for f in d %}<td class='report'>{{ f }}</td>{% endfor %}</tr>{% endfor %}
<tr class='row_{% cycle 'odd' 'even' %}'>{% for f in d %}<td class='report'>{{ f }}</td>{% endfor %}</tr>{% endfor %}
</tbody>
</table>

View File

@ -16,7 +16,7 @@
</thead>
<tbody>
{% for person in copies_to %}
<tr class='row_{% cycle odd,even %}'>
<tr class='row_{% cycle 'odd' 'even' %}'>
<td>{{ person.display }}</td>
<td>{{ person.can_view }}</td>
<td>{{ person.can_update }}</td>