Deprecation fix: Changed all instances of the old syntax for the 'cycle' template tag to use the new syntax.
- Legacy-Id: 12672
This commit is contained in:
parent
6eec4c2648
commit
82760fb21f
|
@ -30,7 +30,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
{% for author in draft.documentauthor_set.all %}
|
||||
<tr class="{% cycle row1,row2 %}">
|
||||
<tr class="{% cycle 'row1' 'row2' %}">
|
||||
<td>{{ author.author.person }}</td>
|
||||
<td>{{ author.author }}</td>
|
||||
<td>{{ author.order }}</td>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
{% if form.non_field_errors %}
|
||||
<tr><td colspan="3">{{ form.non_field_errors }}</td></tr>
|
||||
{% endif %}
|
||||
<tr class="{% cycle row1,row2 %}">
|
||||
<tr class="{% cycle 'row1' 'row2' %}">
|
||||
|
||||
{% for hidden in form.hidden_fields %}
|
||||
{{ hidden }}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
{% for role in group.role_set.all %}
|
||||
<tr class="{% cycle row1,row2 %}">
|
||||
<tr class="{% cycle 'row1' 'row2' %}">
|
||||
<td>{{ role.name }}</td>
|
||||
<td>{{ role.person }}</td>
|
||||
<td>{{ role.email }}</td>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
{% for gm in group.groupmilestone_set.all %}
|
||||
<tr class="{% cycle row1,row2 %}">
|
||||
<tr class="{% cycle 'row1' 'row2' %}">
|
||||
<td>{{ gm.desc }}</td>
|
||||
<td>{{ gm.expected_due_date|date:"Y-m-d" }}</td>
|
||||
<td>{{ gm.done_date|date:"Y-m-d" }}</td>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
{% for item in slots %}
|
||||
<tr class="{% cycle row1,row2 %}{% ifchanged item.type %} break{% endifchanged %}">
|
||||
<tr class="{% cycle row1 row2 %}{% ifchanged item.type %} break{% endifchanged %}">
|
||||
<td>{{ item.time|date:"D" }}</td>
|
||||
<td>{{ item.time|date:"H:i" }}-{{ item.end_time|date:"H:i" }}</td>
|
||||
<td>{{ item.name }}</td>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
{% if form.non_field_errors %}
|
||||
<tr><td colspan="3">{{ form.non_field_errors }}</td></tr>
|
||||
{% endif %}
|
||||
<tr class="{% cycle row1,row2 %}">
|
||||
<tr class="{% cycle 'row1' 'row2' %}">
|
||||
{% for hidden in form.hidden_fields %}
|
||||
{{ hidden }}
|
||||
{% endfor %}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
{% for item in times %}
|
||||
<tr class="{% cycle row1,row2 %}">
|
||||
<tr class="{% cycle 'row1' 'row2' %}">
|
||||
<td>{{ item.time|date:"D" }}</td>
|
||||
<td>{{ item.time|date:"H:i" }} - {{ item.end_time|date:"H:i" }}</td>
|
||||
<td>{{ item.name }}</td>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<td></td>
|
||||
</tr>
|
||||
{% for meeting in meetings %}
|
||||
<tr class="{% cycle row1,row2 %}">
|
||||
<tr class="{% cycle 'row1' 'row2' %}">
|
||||
<td align="left" style="white-space: nowrap">{{ meeting.date }}</td>
|
||||
<td><a href="https://datatracker.ietf.org/wg/{{ meeting.group.acronym }}">{{ meeting.group.acronym }}</a></td>
|
||||
{% if meeting.agenda %}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
{% for role in roles %}
|
||||
<tr class="{% cycle row1,row2 %}">
|
||||
<tr class="{% cycle 'row1' 'row2' %}">
|
||||
<td>{{ role.name }}</td>
|
||||
<td>{{ role.person }}</td>
|
||||
<td>{{ role.email }}</td>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<tbody>
|
||||
{% for form in email_formset.forms %}
|
||||
{% if form.non_field_errors %}{{ form.non_field_errors }}{% endif %}
|
||||
<tr class="{% cycle row1,row2 %}">
|
||||
<tr class="{% cycle 'row1' 'row2' %}">
|
||||
{# Include the hidden fields in the form #}
|
||||
{% for hidden in form.hidden_fields %}
|
||||
{{ hidden }}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% autoescape off %}{% load ietf_filters %}{% load ipr_filters %}IPR Title: {{ ipr.title|safe }}
|
||||
|
||||
Section {% cycle 'I','II','III','IV','V','VI','VII','VIII' as section %}. {% if ipr|to_class_name == "ThirdPartyIprDisclosure" %}Possible {% endif %}Patent Holder/Applicant ("Patent Holder")
|
||||
Section {% cycle 'I' 'II' 'III' 'IV' 'V' 'VI' 'VII' 'VIII' as section %}. {% if ipr|to_class_name == "ThirdPartyIprDisclosure" %}Possible {% endif %}Patent Holder/Applicant ("Patent Holder")
|
||||
Legal Name: {{ ipr.holder_legal_name|safe }}
|
||||
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
<input type="hidden" id="id_compliant" name="compliant" value="checked" />
|
||||
{% endif %}
|
||||
|
||||
<h2>{% cycle 'I','II','III','IV','V','VI','VII','VIII' as section %}.
|
||||
<h2>{% cycle 'I' 'II' 'III' 'IV' 'V' 'VI' 'VII' 'VIII' as section %}.
|
||||
{% if form.instance|to_class_name == "ThirdPartyIprDisclosure" %}Possible{% endif %} Patent holder/applicant ("patent holder")</h2>
|
||||
|
||||
{% bootstrap_field form.holder_legal_name layout='horizontal' %}
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
|
||||
<div class="form-horizontal">
|
||||
|
||||
<h2>{% cycle 'I','II','III','IV','V','VI','VII','VIII' as section %}.
|
||||
<h2>{% cycle 'I' 'II' 'III' 'IV' 'V' 'VI' 'VII' 'VIII' as section %}.
|
||||
{% if ipr|to_class_name == "ThirdPartyIprDisclosure" %}Possible{% endif %}
|
||||
Patent Holder/Applicant ("Patent Holder")</h2>
|
||||
|
||||
|
|
Loading…
Reference in a new issue