Fix two cycle calls that slipped past the merge, and delete file that somehow survived the merge

- Legacy-Id: 9073
This commit is contained in:
Ole Laursen 2015-02-12 10:51:57 +00:00
parent a225fd5069
commit 04219b9d94
3 changed files with 2 additions and 43 deletions

View file

@ -93,7 +93,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' %}

View file

@ -103,7 +103,7 @@
<h2 role="form" 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>

View file

@ -1,41 +0,0 @@
{# Copyright The IETF Trust 2007, All Rights Reserved #}
{% load ietf_filters %}
{% load future %}
<table class="ietf-table" width="100%">
<tr>
<th width="9%" class="sort{% if sort == "submitted" %} sorted{% endif %}"><a href="?sort=submitted">Date</a></th>
<th width="15%" class="sort{% if sort == "from_name" %} sorted{% endif %}"><a href="?sort=from_name">From</a></th>
<th width="15%" class="sort{% if sort == "to_name" %} sorted{% endif %}"><a href="?sort=to_name">To</a></th>
<th width="9%" class="sort{% if sort == "deadline" %} sorted{% endif %}"><a href="?sort=deadline">Deadline</a></th>
<th width="50%" class="sort{% if sort == "title" %} sorted{% endif %}"><a href="?sort=title">Title</a></th>
</tr>
{% for liaison in liaisons %}
<tr class="{% cycle 'oddrow','evenrow' %}">
<td style="white-space:nowrap;">{{ liaison.submitted|date:"Y-m-d" }}</td>
<td>{{ liaison.from_name }}</td>
<td>
{% if liaison.from_contact_id %}
{{ liaison.to_name }}
{% else %}
{{ liaison.to_name|strip_email }}
{% endif %}
</td>
<td>
{{ liaison.deadline|default:"-"|date:"Y-m-d" }}
</td>
<td>
{% if not liaison.from_contact_id %}
{% for doc in liaison.attachments.all %}
<a href="https://datatracker.ietf.org/documents/LIAISON/{{ doc.external_url }}">{{ doc.title }}</a><br/>
{% endfor %}
{% else %}
<a href="{% if liaison.approved %}{% url "liaison_detail" object_id=liaison.pk %}{% else %}{% url "liaison_approval_detail" object_id=liaison.pk %}{% endif %}">{{ liaison.title }}</a>
{% endif %}
<span style="display: none" class="liaisonPK">{{ liaison.pk }}</span>
</td>
</tr>
{% endfor %}
</table>