forked from extern/django-helpdesk
Merge pull request #397 from mrkiwi-nz/master
Changes to templates to make them compatible with django 1.10
This commit is contained in:
commit
0837643c17
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user