Skip to content

Commit 82760fb

Browse files
committed
Deprecation fix: Changed all instances of the old syntax for the 'cycle' template tag to use the new syntax.
- Legacy-Id: 12672
1 parent 6eec4c2 commit 82760fb

13 files changed

Lines changed: 13 additions & 13 deletions

File tree

ietf/secr/templates/drafts/authors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h2>Authors</h2>
3030
</thead>
3131
<tbody>
3232
{% for author in draft.documentauthor_set.all %}
33-
<tr class="{% cycle row1,row2 %}">
33+
<tr class="{% cycle 'row1' 'row2' %}">
3434
<td>{{ author.author.person }}</td>
3535
<td>{{ author.author }}</td>
3636
<td>{{ author.order }}</td>

ietf/secr/templates/groups/edit_gm.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ <h2>Goals and Milestones</h2>
3737
{% if form.non_field_errors %}
3838
<tr><td colspan="3">{{ form.non_field_errors }}</td></tr>
3939
{% endif %}
40-
<tr class="{% cycle row1,row2 %}">
40+
<tr class="{% cycle 'row1' 'row2' %}">
4141

4242
{% for hidden in form.hidden_fields %}
4343
{{ hidden }}

ietf/secr/templates/groups/people.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h2>People</h2>
3030
</thead>
3131
<tbody>
3232
{% for role in group.role_set.all %}
33-
<tr class="{% cycle row1,row2 %}">
33+
<tr class="{% cycle 'row1' 'row2' %}">
3434
<td>{{ role.name }}</td>
3535
<td>{{ role.person }}</td>
3636
<td>{{ role.email }}</td>

ietf/secr/templates/groups/view_gm.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h2>Groups - View Goals and Milestones</h2>
2727
</thead>
2828
<tbody>
2929
{% for gm in group.groupmilestone_set.all %}
30-
<tr class="{% cycle row1,row2 %}">
30+
<tr class="{% cycle 'row1' 'row2' %}">
3131
<td>{{ gm.desc }}</td>
3232
<td>{{ gm.expected_due_date|date:"Y-m-d" }}</td>
3333
<td>{{ gm.done_date|date:"Y-m-d" }}</td>

ietf/secr/templates/meetings/non_session.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h2>TimeSlots</h2>
2222
</thead>
2323
<tbody>
2424
{% for item in slots %}
25-
<tr class="{% cycle row1,row2 %}{% ifchanged item.type %} break{% endifchanged %}">
25+
<tr class="{% cycle row1 row2 %}{% ifchanged item.type %} break{% endifchanged %}">
2626
<td>{{ item.time|date:"D" }}</td>
2727
<td>{{ item.time|date:"H:i" }}-{{ item.end_time|date:"H:i" }}</td>
2828
<td>{{ item.name }}</td>

ietf/secr/templates/meetings/rooms.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h2>Rooms</h2>
2323
{% if form.non_field_errors %}
2424
<tr><td colspan="3">{{ form.non_field_errors }}</td></tr>
2525
{% endif %}
26-
<tr class="{% cycle row1,row2 %}">
26+
<tr class="{% cycle 'row1' 'row2' %}">
2727
{% for hidden in form.hidden_fields %}
2828
{{ hidden }}
2929
{% endfor %}

ietf/secr/templates/meetings/times.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h2>Times</h2>
1818
</thead>
1919
<tbody>
2020
{% for item in times %}
21-
<tr class="{% cycle row1,row2 %}">
21+
<tr class="{% cycle 'row1' 'row2' %}">
2222
<td>{{ item.time|date:"D" }}</td>
2323
<td>{{ item.time|date:"H:i" }} - {{ item.end_time|date:"H:i" }}</td>
2424
<td>{{ item.name }}</td>

ietf/secr/templates/proceedings/interim_directory.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h2>Interim Meeting Proceedings</h2>
1111
<td></td>
1212
</tr>
1313
{% for meeting in meetings %}
14-
<tr class="{% cycle row1,row2 %}">
14+
<tr class="{% cycle 'row1' 'row2' %}">
1515
<td align="left" style="white-space: nowrap">{{ meeting.date }}</td>
1616
<td><a href="https://datatracker.ietf.org/wg/{{ meeting.group.acronym }}">{{ meeting.group.acronym }}</a></td>
1717
{% if meeting.agenda %}

ietf/secr/templates/roles/roles.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</thead>
1010
<tbody>
1111
{% for role in roles %}
12-
<tr class="{% cycle row1,row2 %}">
12+
<tr class="{% cycle 'row1' 'row2' %}">
1313
<td>{{ role.name }}</td>
1414
<td>{{ role.person }}</td>
1515
<td>{{ role.email }}</td>

ietf/secr/templates/rolodex/edit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h2>Email Addresses</h2>
3939
<tbody>
4040
{% for form in email_formset.forms %}
4141
{% if form.non_field_errors %}{{ form.non_field_errors }}{% endif %}
42-
<tr class="{% cycle row1,row2 %}">
42+
<tr class="{% cycle 'row1' 'row2' %}">
4343
{# Include the hidden fields in the form #}
4444
{% for hidden in form.hidden_fields %}
4545
{{ hidden }}

0 commit comments

Comments
 (0)