Rewrite ifequal/endifequal template tags to if tags with ==/!=
- Legacy-Id: 6961
This commit is contained in:
parent
d66ac15fc2
commit
36dd439027
|
@ -11,17 +11,17 @@
|
|||
<dd>{{ template.group }}</dd>
|
||||
<dt>Template type</dt>
|
||||
<dd>{{ template.type.name }}
|
||||
{% ifequal template.type.slug "rst" %}
|
||||
{% if template.type.slug == "rst" %}
|
||||
<p>This template uses the syntax of reStructuredText. Get a quick reference at <a href="http://docutils.sourceforge.net/docs/user/rst/quickref.html">http://docutils.sourceforge.net/docs/user/rst/quickref.html</a>.</p>
|
||||
<p>You can do variable interpolation with $varialbe if the template allows any variable.</p>
|
||||
{% endifequal %}
|
||||
{% ifequal template.type.slug "django" %}
|
||||
{% endif %}
|
||||
{% if template.type.slug == "django" %}
|
||||
<p>This template uses the syntax of the default django template framework. Get more info at <a href="https://docs.djangoproject.com/en/dev/topics/templates/">https://docs.djangoproject.com/en/dev/topics/templates/</a>.</p>
|
||||
<p>You can do variable interpolation with the current django markup {{variable}} if the template allows any variable.</p>
|
||||
{% endifequal %}
|
||||
{% ifequal template.type.slug "plain" %}
|
||||
{% endif %}
|
||||
{% if template.type.slug == "plain" %}
|
||||
<p>This template uses plain text, so no markup is used. You can do variable interpolation with $variable if the template allows any variable.</p>
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
</dd>
|
||||
{% if template.variables %}
|
||||
<dt>Variables allowed in this template</dt>
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
<tr class="bg1"><td>Number of Sessions:<span class="required">*</span></td><td>{{ form.num_session.errors }}{{ form.num_session }}</td></tr>
|
||||
<tr class="bg2"><td>Length of Session 1:<span class="required">*</span></td><td>{{ form.length_session1.errors }}{{ form.length_session1 }}</td></tr>
|
||||
<tr class="bg2"><td>Length of Session 2:<span class="required">*</span></td><td>{{ form.length_session2.errors }}{{ form.length_session2 }}</td></tr>
|
||||
{% ifequal group.type.slug "wg" %}
|
||||
{% if group.type.slug == "wg" %}
|
||||
<tr class="bg2"><td>Additional Session Request:</td><td>{{ form.third_session }} Check this box to request an additional session.<br>
|
||||
Additional slot may be available after agenda scheduling has closed and with the approval of an Area Director.<br>
|
||||
Length of Third Session: {{ form.length_session3.errors }}{{ form.length_session3 }}</td></tr>
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
<tr class="bg1"><td>Number of Attendees:<span class="required">*</span></td><td>{{ form.attendees.errors }}{{ form.attendees }}</td></tr>
|
||||
<tr class="bg2"><td>Conflicts to Avoid:</td>
|
||||
<td>
|
||||
|
|
|
@ -78,15 +78,15 @@ $(function() {
|
|||
<ul>
|
||||
{% for field in ipr_detail_form.fieldsets.basic %}
|
||||
<li>
|
||||
{% ifequal field.name "title" %}
|
||||
{% if field.name == "title" %}
|
||||
<label for="id_title">IPR Title<span class="required"> *</span></label>
|
||||
{% else %}
|
||||
{% ifequal field.name "submitted_date" %}
|
||||
{% if field.name == "submitted_date" %}
|
||||
<label for="id_submitted_date">Submitted Date<span class="required"> *</span></label>
|
||||
{% else %}
|
||||
{{ field.label_tag }}
|
||||
{% endifequal %}
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{{ field }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
@ -124,11 +124,11 @@ $(function() {
|
|||
<ul>
|
||||
{% for field in ipr_detail_form.fieldsets.legal_name %}
|
||||
<li>
|
||||
{% ifequal field.name "legal_name" %}
|
||||
{% if field.name == "legal_name" %}
|
||||
<label for="id_legal_name">Legal Name<span class="required"> *</span></label>
|
||||
{% else %}
|
||||
{{ field.label_tag }}
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
{{ field }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
|
@ -38,15 +38,15 @@ IPR Admin Detail Page
|
|||
<h2>{{ section.0 }}</h2>
|
||||
<ul>
|
||||
{% for line in section %}
|
||||
{% ifnotequal forloop.counter 1 %}
|
||||
{% if forloop.counter != 1 %}
|
||||
{# related documents #}
|
||||
{% ifequal forloop.parentloop.counter 4 %}
|
||||
{% if forloop.parentloop.counter == 4 %}
|
||||
<li>
|
||||
<table><tr>
|
||||
<td>{{ line.0 }}</td>
|
||||
<td>
|
||||
{# 'Designations for other contributions' #}
|
||||
{% ifequal 5 forloop.counter %}
|
||||
{% if 5 == forloop.counter %}
|
||||
<strong>{{ line.1 }}</strong>
|
||||
{% else %}
|
||||
<ul>
|
||||
|
@ -54,14 +54,14 @@ IPR Admin Detail Page
|
|||
<li><strong>{{ item }}</strong></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr></table>
|
||||
</li>
|
||||
{% else %}
|
||||
<li>{{ line.0 }} <strong>{{ line.1 }}</strong></li>
|
||||
{% endifequal %}
|
||||
{% endifnotequal %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<!-- </fieldset> -->
|
||||
|
@ -72,27 +72,27 @@ IPR Admin Detail Page
|
|||
</div> <!-- module -->
|
||||
|
||||
{% for c in controls %}
|
||||
{% ifequal c 'notify' %}
|
||||
{% if c == 'notify' %}
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="ipr_id" value="$ipr_id">
|
||||
<input type="hidden" name="command" value="notify">
|
||||
<input type="submit" name="notice_it" value="Notify the submitter of IPR that is being updated">
|
||||
</form>
|
||||
{% endifequal %}
|
||||
{% ifequal c 'post' %}
|
||||
{% endif %}
|
||||
{% if c == 'post' %}
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="ipr_id" value="$ipr_id">
|
||||
<input type="hidden" name="command" value="post">
|
||||
<input type="submit" name="post_it" value="Post It">
|
||||
</form>
|
||||
{% endifequal %}
|
||||
{% ifequal c 'delete' %}
|
||||
{% endif %}
|
||||
{% if c == 'delete' %}
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="ipr_id" value="$ipr_id">
|
||||
<input type="hidden" name="command" value="delete">
|
||||
<input type="submit" name="do_delete" value="Delete">
|
||||
</form>
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -15,7 +15,7 @@ IPR Admin Notify Page
|
|||
|
||||
{% block content %}
|
||||
|
||||
{% ifequal page_id 'send_result' %}
|
||||
{% if page_id == 'send_result' %}
|
||||
<div class="module">
|
||||
{% if result %}
|
||||
{{ result }}
|
||||
|
@ -28,9 +28,9 @@ IPR Admin Notify Page
|
|||
</ul>
|
||||
</div> <!-- button-group -->
|
||||
</div> <!-- module -->
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
|
||||
{% ifequal page_id 'detail_notify' %}
|
||||
{% if page_id == 'detail_notify' %}
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="command" value="do_send_update_notification">
|
||||
<input type="hidden" name="ipr_id" value="{{ ipr_id }}">
|
||||
|
@ -65,9 +65,9 @@ IETF Secretariat
|
|||
<input type="submit" value=" Send notifications NOW ">
|
||||
</form>
|
||||
<br><br>
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
|
||||
{% ifequal page_id 'detail_post' %}
|
||||
{% if page_id == 'detail_post' %}
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="command" value="do_send_notifications">
|
||||
<input type="hidden" name="ipr_id" value="{{ ipr_id }}">
|
||||
|
@ -81,9 +81,9 @@ IETF Secretariat
|
|||
<input type="submit" value=" Send notifications NOW ">
|
||||
</form>
|
||||
<br><br>
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
|
||||
{% ifequal page_id 'update_post' %}
|
||||
{% if page_id == 'update_post' %}
|
||||
<form action="" method="post">
|
||||
<input type="hidden" name="command" value="do_send_notifications">
|
||||
<input type="hidden" name="ipr_id" value="{{ ipr_id }}">
|
||||
|
@ -100,6 +100,6 @@ IETF Secretariat
|
|||
</form>
|
||||
<br><br>
|
||||
</form>
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
|
||||
{% endblock content %}
|
||||
|
|
|
@ -190,7 +190,7 @@ $(function() {
|
|||
<ol>
|
||||
<li>{{ licensing_option_labels.0 }})
|
||||
<label for="id_licensing_option_0">
|
||||
<input id="id_licensing_option_0" name="licensing_option" value="1" type="radio"{% ifequal opt 1 %} checked{% endifequal %}>
|
||||
<input id="id_licensing_option_0" name="licensing_option" value="1" type="radio"{% if opt == 1 %} checked{% endif %}>
|
||||
No License Required for Implementers.
|
||||
</label>
|
||||
<br>
|
||||
|
@ -199,7 +199,7 @@ $(function() {
|
|||
</li>
|
||||
<li>{{ licensing_option_labels.1 }})
|
||||
<label for="id_licensing_option_1">
|
||||
<input id="id_licensing_option_1" value="2" name="licensing_option" type="radio"{% ifequal opt 2 %} checked{% endifequal %}>
|
||||
<input id="id_licensing_option_1" value="2" name="licensing_option" type="radio"{% if opt == 2 %} checked{% endif %}>
|
||||
Royalty-Free, Reasonable and Non-Discriminatory License to All Implementers.
|
||||
</label>
|
||||
<br>
|
||||
|
@ -208,7 +208,7 @@ $(function() {
|
|||
</li>
|
||||
<li>{{ licensing_option_labels.2 }})
|
||||
<label for="id_licensing_option_2">
|
||||
<input id="id_licensing_option_2" value="3" name="licensing_option" type="radio"{% ifequal opt 3 %} checked{% endifequal %}>
|
||||
<input id="id_licensing_option_2" value="3" name="licensing_option" type="radio"{% if opt == 3 %} checked{% endif %}>
|
||||
Reasonable and Non-Discriminatory License to All Implementers with Possible Royalty/Fee.
|
||||
</label>
|
||||
<br>
|
||||
|
@ -217,19 +217,19 @@ $(function() {
|
|||
</li>
|
||||
<li>{{ licensing_option_labels.3 }})
|
||||
<label for="id_licensing_option_3">
|
||||
<input id="id_licensing_option_3" value="4" name="licensing_option" type="radio"{% ifequal opt 4 %} checked{% endifequal %}>
|
||||
<input id="id_licensing_option_3" value="4" name="licensing_option" type="radio"{% if opt == 4 %} checked{% endif %}>
|
||||
Licensing Declaration to be Provided Later (implies a willingness to commit to the provisions of a), b), or c) above to all implementers; otherwise, the next option "Unwilling to Commit to the Provisions of a), b), or c) Above" - must be selected)
|
||||
</label>
|
||||
</li>
|
||||
<li>{{ licensing_option_labels.4 }})
|
||||
<label for="id_licensing_option_4">
|
||||
<input id="id_licensing_option_4" value="5" name="licensing_option" type="radio"{% ifequal opt 5 %} checked{% endifequal %}>
|
||||
<input id="id_licensing_option_4" value="5" name="licensing_option" type="radio"{% if opt == 5 %} checked{% endif %}>
|
||||
Unwilling to Commit to the Provisions of a), b), or c) Above
|
||||
</label>
|
||||
</li>
|
||||
<li>{{ licensing_option_labels.5 }})
|
||||
<label for="id_licensing_option_5">
|
||||
<input id="id_licensing_option_5" value="6" name="licensing_option" type="radio"{% ifequal opt 6 %} checked{% endifequal %}>
|
||||
<input id="id_licensing_option_5" value="6" name="licensing_option" type="radio"{% if opt == 6 %} checked{% endif %}>
|
||||
See text box below for licensing declaration.
|
||||
</label>
|
||||
</li>
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
|
||||
<div class="module">
|
||||
<h2>IETF {{ meeting.number }} - View</h2>
|
||||
{% ifequal meeting.frozen 1 %}
|
||||
{% if meeting.frozen == 1 %}
|
||||
<ul class="errorlist"><li> THIS IS A FROZEN PROCEEDING</li></ul>
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
<table class="full-width">
|
||||
<col id="proceedings-view-first-col" />
|
||||
<tr><td>Start Date:</td><td> {{ meeting.date }}</td></tr>
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
|
||||
<div class="module">
|
||||
<h2>IETF {{meeting.number}} Meeting - View</h2>
|
||||
{% ifequal meeting.frozen 1 %}
|
||||
{% if meeting.frozen == 1 %}
|
||||
<ul class="errorlist"><li> THIS IS A FROZEN PROCEEDING</li></ul>
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
<table class="full-width">
|
||||
<col id="proceedings-view-first-col" />
|
||||
<tr><td>Meeting Start Date:</td><td> {{ meeting.date }}</td></tr>
|
||||
|
@ -39,18 +39,18 @@
|
|||
</div><!-- inline-related-->
|
||||
|
||||
<div class="button-group">
|
||||
{% ifequal meeting.frozen 0 %}
|
||||
{% if meeting.frozen == 0 %}
|
||||
<ul>
|
||||
<li><button onclick="window.location='{% url "proceedings_select" meeting_num=meeting.number %}'">Upload Materials</button></li>
|
||||
<li><button onclick="window.location='convert/'">Convert Materials</button></li>
|
||||
<li><button onclick="window.location='status/'">Proceedings {{ meeting.number }} Status</button></li>
|
||||
</ul>
|
||||
{% endifequal %}
|
||||
{% ifequal meeting.frozen 1 %}
|
||||
{% endif %}
|
||||
{% if meeting.frozen == 1 %}
|
||||
<ul>
|
||||
<li><button onclick="window.location='status/'">Proceedings {{ meeting.number }} Status</button></li>
|
||||
</ul>
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
</div> <!-- button-group -->
|
||||
</div> <!-- module -->
|
||||
|
||||
|
|
|
@ -43,15 +43,15 @@
|
|||
<tr>
|
||||
<td>{{ role.name }} </td>
|
||||
<td>
|
||||
{% ifequal role.group.type.slug "wg" %}
|
||||
{% if role.group.type.slug == "wg" %}
|
||||
<a href="{% url "groups_view" acronym=role.group.acronym %}">{{ role.group.acronym }}</a>
|
||||
{% else %}
|
||||
{% ifequal role.group.type.slug "area" %}
|
||||
{% if role.group.type.slug == "area" %}
|
||||
<a href="{% url "areas_view" name=role.group.acronym %}">{{ role.group.acronym }}</a>
|
||||
{% else %}
|
||||
{{ role.group }}
|
||||
{% endifequal %}
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ role.email }}</td>
|
||||
</tr>
|
||||
|
|
|
@ -28,10 +28,10 @@
|
|||
<table id="telechat-positions-table">
|
||||
<tr><th>Area Director</th><th>Yes</th><th>No Objections</th><th>Discuss</th><th>Abstain</th><th>Recuse</th><th>No Position</th></tr>
|
||||
{% for form in formset.forms %}
|
||||
<tr{% if form.initial.position == 'norecord' or form.initial.position == None %} class="green-row"{% endif %}{% ifequal form.initial.position 'discuss' %} class="red-row"{% endifequal %}><td>{{ form.initial.name }}{{ form.name }}{{ form.id }}</td>
|
||||
<tr{% if form.initial.position == 'norecord' or form.initial.position == None %} class="green-row"{% endif %}{% if form.initial.position == 'discuss' %} class="red-row"{% endif %}><td>{{ form.initial.name }}{{ form.name }}{{ form.id }}</td>
|
||||
{% with form.position as field %}
|
||||
{% for choice in field.field.choices %}
|
||||
<td><input type="radio" {% ifequal form.initial.position choice.0 %}checked="checked" {% endifequal %}id="id_{{ field.html_name }}_{{ forloop.counter0 }}" value="{{ choice.0 }}" name="{{ field.html_name }}" /></td>
|
||||
<td><input type="radio" {% if form.initial.position == choice.0 %}checked="checked" {% endif %}id="id_{{ field.html_name }}_{{ forloop.counter0 }}" value="{{ choice.0 }}" name="{{ field.html_name }}" /></td>
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
</tr>
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
{% block object-tools %}
|
||||
{% if change %}{% if not is_popup %}
|
||||
<ul class="object-tools">
|
||||
{% ifequal original.type_id "sdo" %}
|
||||
{% if original.type_id == "sdo" %}
|
||||
<li><a href="reminder/">SDO Authorized List Reminder</a></li>
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
<li><a href="history/" class="historylink">{% trans "History" %}</a></li>
|
||||
{% if has_absolute_url %}<li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%}
|
||||
</ul>
|
||||
|
|
|
@ -38,23 +38,23 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<!-- v{{version_num}}, {{ revision_num }}, {{ revision_time }} -->
|
||||
<title>{% block title %}No title{% endblock %}{% if server_mode %}{% ifnotequal server_mode "production" %} - {{ server_mode|upper }} MODE{% endifnotequal %}{% endif %}</title>
|
||||
<title>{% block title %}No title{% endblock %}{% if server_mode %}{% if server_mode != "production" %} - {{ server_mode|upper }} MODE{% endif %}{% endif %}</title>
|
||||
<link rel="stylesheet" type="text/css" href="/css/yui/yui-20100305.css"></link>
|
||||
<link rel="stylesheet" type="text/css" href="/css/base2.css"></link>
|
||||
<style type="text/css">
|
||||
{% block morecss %}{% endblock %}
|
||||
</style>
|
||||
{% block pagehead %}{% endblock %}
|
||||
{% ifnotequal server_mode "production" %}
|
||||
{% if server_mode != "production" %}
|
||||
<link rel="icon" href="/images/ietf-dev-icon.bmp" />
|
||||
{% else %}
|
||||
<link rel="icon" href="/images/ietf-icon-blue.bmp" />
|
||||
{% endifnotequal %}
|
||||
{% endif %}
|
||||
<link rel="search" href="/js/datatracker-search.xml" type="application/opensearchdescription+xml" title="IETF Datatracker Search" />
|
||||
</head>
|
||||
<body class="yui-skin-sam" {% block bodyAttrs %}{%endblock%}>
|
||||
<div style="background-color:{% if server_mode %}{% ifnotequal server_mode "production" %}#c00000{% else %}#313163{% endifnotequal %}{%else %}#313163{%endif%};color:white;font-size:150%;height:35px;" class="noprint">
|
||||
<span style="padding-left:15px;font-weight:bold;letter-spacing:0.1em;"><a href="/" style="text-decoration:none;color:white"><img src="/images/ietflogo-blue-small.png" width="60" height="34" style="vertical-align:middle;padding-left:8px;" alt=""/>datatracker.ietf.org</a> {% if server_mode %}{% ifnotequal server_mode "production" %} - {{ server_mode|upper}} MODE{% endifnotequal %}{% endif %}</span>
|
||||
<div style="background-color:{% if server_mode %}{% if server_mode != "production" %}#c00000{% else %}#313163{% endif %}{%else %}#313163{%endif%};color:white;font-size:150%;height:35px;" class="noprint">
|
||||
<span style="padding-left:15px;font-weight:bold;letter-spacing:0.1em;"><a href="/" style="text-decoration:none;color:white"><img src="/images/ietflogo-blue-small.png" width="60" height="34" style="vertical-align:middle;padding-left:8px;" alt=""/>datatracker.ietf.org</a> {% if server_mode %}{% if server_mode != "production" %} - {{ server_mode|upper}} MODE{% endif %}{% endif %}</span>
|
||||
</div>
|
||||
|
||||
{% if user %}
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
<h2>Queries</h2>
|
||||
<p>
|
||||
{{ sql_queries|length }} Queries ({{ sql_queries|timesum }}s)
|
||||
{% ifnotequal sql_queries|length 0 %}
|
||||
{% if sql_queries|length != 0 %}
|
||||
(<span style="cursor: pointer;" onclick="document.getElementById('debugQueryTable').style.display='';">Show</span>)
|
||||
{% endifnotequal %}
|
||||
{% endif %}
|
||||
</p>
|
||||
<table id="debugQueryTable" style="display: none;">
|
||||
<col width="1"></col>
|
||||
|
|
|
@ -31,15 +31,15 @@ form.approve-ballot .announcement {
|
|||
|
||||
<div class="actions">
|
||||
<a href="{% url "doc_ballot_approvaltext" name=doc.name %}">Back</a>
|
||||
{% ifequal action "to_announcement_list" %}
|
||||
{% if action == "to_announcement_list" %}
|
||||
<input type="submit" value="Notify the RFC Editor, send out the announcement and close ballot"/>
|
||||
{% endifequal %}
|
||||
{% ifequal action "to_rfc_editor" %}
|
||||
{% endif %}
|
||||
{% if action == "to_rfc_editor" %}
|
||||
<input type="submit" value="Send message to the RFC Editor and close ballot"/>
|
||||
{% endifequal %}
|
||||
{% ifequal action "do_not_publish" %}
|
||||
{% endif %}
|
||||
{% if action == "do_not_publish" %}
|
||||
<input type="submit" value="Send message to the RFC Editor (DNP) and close ballot"/>
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
@ -37,17 +37,17 @@ form.edit-info .actions {
|
|||
<tr>
|
||||
<th>{{ field.label_tag }}</th>
|
||||
<td>{{ field }}
|
||||
{% ifequal field.name "telechat_date" %}
|
||||
{% if field.name == "telechat_date" %}
|
||||
{% if not ballot_issued %}
|
||||
<span id="ballotwarn"> A ballot for this document has not been issued: <a href="{% url "doc_ballot_writeupnotes" name=doc.name %}">Edit Ballot Text</a></span>
|
||||
{% endif %}
|
||||
{{ form.returning_item }} {{ form.returning_item.label_tag }} {{ form.returning_item.errors }}
|
||||
{% endifequal %}
|
||||
{% ifequal field.name "ad" %}
|
||||
{% endif %}
|
||||
{% if field.name == "ad" %}
|
||||
{% if user|has_role:"Area Director" %}
|
||||
<label><input type="checkbox" name="ad" value="{{ login.pk }}" /> Assign to me</label>
|
||||
{% endif %}
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
{% if field.help_text %}<div class="help">{{ field.help_text }}</div>{% endif %}
|
||||
{{ field.errors }}</td>
|
||||
</tr>
|
||||
|
|
|
@ -294,7 +294,7 @@ Template for {{ section_list.disclosure_type }}" where the submitter provided
|
|||
<tr class="{% cycle row_parity %}">
|
||||
<td colspan="2">
|
||||
<p>
|
||||
{% ifnotequal ipr.lic_checkbox 1 %}{{ ipr.lic_checkbox }}{% endifnotequal %}
|
||||
{% if ipr.lic_checkbox != 1 %}{{ ipr.lic_checkbox }}{% endif %}
|
||||
The individual submitting this template represents and warrants that all
|
||||
terms and conditions that must be satisfied for implementers of any
|
||||
covered IETF specification to obtain a license have been disclosed in this
|
||||
|
|
|
@ -121,9 +121,9 @@ will be posted, but will be marked as "non-compliant".</p>
|
|||
</th>
|
||||
</tr>
|
||||
{% for field in ipr.holder_contact %}
|
||||
{% ifnotequal field.name "update_auth" %}
|
||||
{% if field.name != "update_auth" %}
|
||||
<tr class="{% cycle row_parity %}"><td class="iprlabel">{{field.label }}:</td><td class="iprdata">{{ field.errors }} {% if field.field.required %}<span class="required">*</span>{%endif%} {{ field }}</td></tr>
|
||||
{% endifnotequal %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endif %}
|
||||
|
@ -137,9 +137,9 @@ will be posted, but will be marked as "non-compliant".</p>
|
|||
</th>
|
||||
</tr>
|
||||
{% for field in ipr.ietf_contact %}
|
||||
{% ifnotequal field.name "update_auth" %}
|
||||
{% if field.name != "update_auth" %}
|
||||
<tr class="{% cycle row_parity %}"><td class="iprlabel">{{field.label }}:</td><td class="iprdata">{{ field.errors }} {% if field.field.required %}<span class="required">*</span>{%endif%} {{ field }}</td></tr>
|
||||
{% endifnotequal %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endif %}
|
||||
|
@ -296,7 +296,7 @@ will be posted, but will be marked as "non-compliant".</p>
|
|||
<td colspan="2">
|
||||
<p>
|
||||
{{ ipr.lic_checkbox.errors }}
|
||||
{% ifnotequal ipr.lic_checkbox 1 %}{{ ipr.lic_checkbox }}{% endifnotequal %}
|
||||
{% if ipr.lic_checkbox != 1 %}{{ ipr.lic_checkbox }}{% endif %}
|
||||
The individual submitting this template represents and warrants that all
|
||||
terms and conditions that must be satisfied for implementers of any
|
||||
covered IETF specification to obtain a license have been disclosed in this
|
||||
|
@ -357,9 +357,9 @@ will be posted, but will be marked as "non-compliant".</p>
|
|||
</tbody>
|
||||
{% endif %}
|
||||
{% for field in ipr.submitter %}
|
||||
{% ifnotequal field.name "update_auth" %}
|
||||
{% if field.name != "update_auth" %}
|
||||
<tr class="{% cycle row_parity %}"><td class="iprlabel">{{field.label }}:</td><td class="iprdata">{{ field.errors }} {% if field.field.required %}<span class="required">*</span>{%endif%} {{ field }}</td></tr>
|
||||
{% endifnotequal %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endif %}
|
||||
|
|
|
@ -44,9 +44,9 @@ table.ipr { margin-top: 1em; }
|
|||
</th>
|
||||
</tr>
|
||||
{% for field in form %}
|
||||
{% ifnotequal field.name "update_auth" %}
|
||||
{% if field.name != "update_auth" %}
|
||||
<tr class="{% cycle row_parity %}"><td class="iprlabel">{{field.label }}:</td><td class="iprdata">{{ field.errors }} {% if field.field.required %}<span class="required">*</span>{%endif%} {{ field }}</td></tr>
|
||||
{% endifnotequal %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
<p>
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
<!-- Project Revision {{ revision_num }}, {{ revision_time }} -->
|
||||
<title>{% block title %}IETF Data{% endblock %}</title>
|
||||
<meta name="viewport" content="width=320; " />
|
||||
{% ifnotequal server_mode "production" %}
|
||||
{% if server_mode != "production" %}
|
||||
<link rel="icon" href="/images/ietf-dev-icon.bmp" />
|
||||
{% else %}
|
||||
<link rel="icon" href="/images/ietf-icon.bmp" />
|
||||
{% endifnotequal %}
|
||||
{% endif %}
|
||||
<link rel="stylesheet" href="/css/mobile.css" type="text/css" />
|
||||
{% block head %}{% endblock %}
|
||||
<style type="text/css">
|
||||
|
|
|
@ -94,7 +94,7 @@ img.hidden { display: none; }
|
|||
|
||||
<h1>IETF {{ schedule.meeting.number }} Meeting Agenda</h1>
|
||||
|
||||
<p>{{ schedule.meeting.city }}, {{ schedule.meeting.date|date:"F j" }} – {% ifnotequal schedule.meeting.date.month schedule.meeting.end_date.month %}{{ schedule.meeting.end_date|date:"F " }}{% endifnotequal %}{{ schedule.meeting.end_date|date:"j, Y" }}<br />
|
||||
<p>{{ schedule.meeting.city }}, {{ schedule.meeting.date|date:"F j" }} – {% if schedule.meeting.date.month != schedule.meeting.end_date.month %}{{ schedule.meeting.end_date|date:"F " }}{% endif %}{{ schedule.meeting.end_date|date:"j, Y" }}<br />
|
||||
Updated {{ updated|date:"Y-m-d H:i:s T" }}</p>
|
||||
<div class="noprint">
|
||||
(There's also a <a href="/meeting/agenda">agenda with local times</a>, a <a href="/meeting/{{schedule.meeting.number}}/agenda.txt">plaintext agenda</a> and a <a href="http://tools.ietf.org/agenda/{{schedule.meeting.number}}/">tools-style agenda</a> available)</div>
|
||||
|
|
|
@ -84,7 +84,7 @@ img.hidden { display: none; }
|
|||
|
||||
<h1>IETF {{ schedule.meeting.number }} Meeting Agenda</h1>
|
||||
|
||||
<p>{{ schedule.meeting.city }}, {{ schedule.meeting.date|date:"F j" }} – {% ifnotequal schedule.meeting.date.month schedule.meeting.end_date.month %}{{ schedule.meeting.end_date|date:"F " }}{% endifnotequal %}{{ schedule.meeting.end_date|date:"j, Y" }}<br />
|
||||
<p>{{ schedule.meeting.city }}, {{ schedule.meeting.date|date:"F j" }} – {% if schedule.meeting.date.month != schedule.meeting.end_date.month %}{{ schedule.meeting.end_date|date:"F " }}{% endif %}{{ schedule.meeting.end_date|date:"j, Y" }}<br />
|
||||
Updated {{ updated|date:"Y-m-d H:i:s T" }}</p>
|
||||
<div class="noprint">
|
||||
(There's also a <a href="/meeting/agenda-utc">agenda with UTC times</a>, a <a href="/meeting/{{schedule.meeting.number}}/agenda.txt">plaintext agenda</a> and a <a href="http://tools.ietf.org/agenda/{{schedule.meeting.number}}/">tools-style agenda</a> available)</div>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% if schedule.meeting.agenda_note %}
|
||||
{% filter center:72 %}{{ schedule.meeting.agenda_note|striptags|wrap_text:72|safe }}{% endfilter %}
|
||||
{% endif %}
|
||||
{% filter center:72 %}{{ schedule.meeting.date|date:"F j" }}-{% ifnotequal schedule.meeting.date.month schedule.meeting.end_date.month %}{{ schedule.meeting.end_date|date:"F " }}{% endifnotequal %}{{ schedule.meeting.end_date|date:"j, Y" }}{% endfilter %}
|
||||
{% filter center:72 %}{{ schedule.meeting.date|date:"F j" }}-{% if schedule.meeting.date.month != schedule.meeting.end_date.month %}{{ schedule.meeting.end_date|date:"F " }}{% endif %}{{ schedule.meeting.end_date|date:"j, Y" }}{% endfilter %}
|
||||
{% filter center:72 %}Updated {{ updated|date:"Y-m-d H:i:s T" }}{% endfilter %}
|
||||
|
||||
{% filter center:72 %}IETF agendas are subject to change, up to and during the meeting.{% endfilter %}
|
||||
|
|
|
@ -82,9 +82,9 @@
|
|||
|
||||
<div class="towtruck">
|
||||
{% if server_mode %}
|
||||
{% ifnotequal server_mode "production" %}
|
||||
{% if server_mode != "production" %}
|
||||
<button onclick="TowTruck(this); return false;">Start TowTruck</button>
|
||||
{% endifnotequal %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
{{ session.name }}
|
||||
{% else %}
|
||||
{{session.group.acronym.upper}}
|
||||
{% ifequal session.group.state.slug "bof" %} <font color="red">({{ session.group.state.slug }})</font>{% endifequal %}
|
||||
{% if session.group.state.slug == "bof" %} <font color="red">({{ session.group.state.slug }})</font>{% endif %}
|
||||
{% endif %}
|
||||
</b>
|
||||
</td>
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
<div class="header">
|
||||
<a name="{{ schedule.meeting.date|date:"Y-m-d_0000" }}" />
|
||||
<h1>Agenda of the {{ schedule.meeting.number|ordinal }} IETF Meeting</h1>
|
||||
<h2>{{ schedule.meeting.date|date:"F j" }}-{% ifnotequal schedule.meeting.date.month schedule.meeting.end_date.month %}{{ schedule.meeting.end_date|date:"F " }}{% endifnotequal %}{{ schedule.meeting.end_date|date:"j, Y" }}</h2>
|
||||
<h2>{{ schedule.meeting.date|date:"F j" }}-{% if schedule.meeting.date.month != schedule.meeting.end_date.month %}{{ schedule.meeting.end_date|date:"F " }}{% endif %}{{ schedule.meeting.end_date|date:"j, Y" }}</h2>
|
||||
</div>
|
||||
<div class="legal">IETF agendas are subject to change, up to and during the meeting.</div>
|
||||
<div>
|
||||
|
@ -96,9 +96,9 @@
|
|||
</td>
|
||||
<td>
|
||||
{% if item.session.type == "WG" %}<a href="http://www.ietf.org/dyn/wg/charter/{{ item.session.group.acronym|lower }}-charter.html">{%endif%}
|
||||
{% ifequal item.session.type "BOF" %}<span style="background-color: #6FD">{% endifequal %}
|
||||
{% if item.session.type == "BOF" %}<span style="background-color: #6FD">{% endif %}
|
||||
{{ item.session.group.acronym|lower }}
|
||||
{% ifequal item.session.type "BOF" %}</span>{% endifequal %}
|
||||
{% if item.session.type == "BOF" %}</span>{% endif %}
|
||||
{% if item.session.type == "WG" %}</a>{%endif%}
|
||||
</td>
|
||||
<td>
|
||||
|
|
|
@ -74,9 +74,9 @@
|
|||
|
||||
<div class="towtruck">
|
||||
{% if server_mode %}
|
||||
{% ifnotequal server_mode "production" %}
|
||||
{% if server_mode != "production" %}
|
||||
<button onclick="TowTruck(this); return false;">Start TowTruck</button>
|
||||
{% endifnotequal %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -31,7 +31,7 @@ th { text-align: right; vertical-align: text-top; }
|
|||
{% ifchanged %}
|
||||
</table>
|
||||
<h2><a name="{{session.group.parent.acronym}}">{{session.group.parent.acronym|upper}} - {{session.group.parent.name}}</a></h2>
|
||||
<div class="no-req">No schedule request:{% for group in groups_not_meeting %}{%ifequal group.parent.id session.group.parent.id %} {{group.acronym|upper}}{%endifequal%}{% endfor %}</div></br>
|
||||
<div class="no-req">No schedule request:{% for group in groups_not_meeting %}{% if group.parent.id == session.group.parent.id %} {{group.acronym|upper}}{%endif%}{% endfor %}</div></br>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="h"></td>
|
||||
|
@ -56,7 +56,7 @@ yes
|
|||
<td valign="top">
|
||||
{% if session.group.ad %}<a href="mailto:{{session.group.ad.ad_email}}">{{session.group.ad}}</a> {%endif%}
|
||||
</td>
|
||||
<td width="30%" valign="top">{%if session.requested_duration%}<span>{% for constraint in session.constraints %}{%ifchanged%}</span><span class="{{constraint.name.slug}}">{%endifchanged%} {{constraint.target.acronym}}{%ifnotequal constraint.target.parent.id constraint.source.parent.id%} ({{constraint.target.parent.acronym}}){%endifnotequal%}{%if not forloop.last %},{%endif%} {% endfor %}</span>{%endif%}</td>
|
||||
<td width="30%" valign="top">{%if session.requested_duration%}<span>{% for constraint in session.constraints %}{%ifchanged%}</span><span class="{{constraint.name.slug}}">{%endifchanged%} {{constraint.target.acronym}}{% if constraint.target.parent.id == constraint.source.parent.id%} ({{constraint.target.parent.acronym}}){%endif%}{%if not forloop.last %},{%endif%} {% endfor %}</span>{%endif%}</td>
|
||||
<td width="30%" valign="top">{% if session.comments %}<i><font color="#800000">{{session.comments|linebreaksbr}}</font></i>{% endif %}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
|
|
@ -163,9 +163,9 @@ function setup_slots(){
|
|||
</div>
|
||||
|
||||
{% if server_mode %}
|
||||
{% ifnotequal server_mode "production" %}
|
||||
{% if server_mode != "production" %}
|
||||
<button onclick="TowTruck(this); return false;">Start TowTruck</button>
|
||||
{% endifnotequal %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -11,17 +11,17 @@
|
|||
<dd>{{ template.group }}</dd>
|
||||
<dt>Template type</dt>
|
||||
<dd>{{ template.type.name }}
|
||||
{% ifequal template.type.slug "rst" %}
|
||||
{% if template.type.slug == "rst" %}
|
||||
<p>This template uses the syntax of reStructuredText. Get a quick reference at <a href="http://docutils.sourceforge.net/docs/user/rst/quickref.html">http://docutils.sourceforge.net/docs/user/rst/quickref.html</a>.</p>
|
||||
<p>You can do variable interpolation with $varialbe if the template allows any variable.</p>
|
||||
{% endifequal %}
|
||||
{% ifequal template.type.slug "django" %}
|
||||
{% endif %}
|
||||
{% if template.type.slug == "django" %}
|
||||
<p>This template uses the syntax of the default django template framework. Get more info at <a href="https://docs.djangoproject.com/en/dev/topics/templates/">https://docs.djangoproject.com/en/dev/topics/templates/</a>.</p>
|
||||
<p>You can do variable interpolation with the current django markup {{variable}} if the template allows any variable.</p>
|
||||
{% endifequal %}
|
||||
{% ifequal template.type.slug "plain" %}
|
||||
{% endif %}
|
||||
{% if template.type.slug == "plain" %}
|
||||
<p>This template uses plain text, so no markup is used. You can do variable interpolation with $variable if the template allows any variable.</p>
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
</dd>
|
||||
{% if template.variables %}
|
||||
<dt>Variables allowed in this template</dt>
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<option value="">All</option>
|
||||
{% for state in states %}
|
||||
<option value="{{ state.slug }}"
|
||||
{% ifequal state.slug selected_state %}selected="selected"{% endifequal%}>
|
||||
{% if state.slug == selected_state %}selected="selected"{% endif%}>
|
||||
{{ state.name }}
|
||||
</option>
|
||||
{% endfor %}
|
||||
|
@ -60,7 +60,7 @@
|
|||
<option value="">All</option>
|
||||
{% for position in positions %}
|
||||
<option value="{{ position.id }}"
|
||||
{% ifequal position.id selected_position %}selected="selected"{% endifequal%}>
|
||||
{% if position.id == selected_position %}selected="selected"{% endif%}>
|
||||
{{ position.name }}
|
||||
</option>
|
||||
{% endfor %}
|
||||
|
|
|
@ -28,10 +28,10 @@
|
|||
{% for ft in feedback_types %}
|
||||
<div id="#{{ ft.slug }}">
|
||||
{% for feedback in nominee.feedback_set.all %}
|
||||
{% ifequal feedback.type.slug ft.slug %}
|
||||
{% if feedback.type.slug == ft.slug %}
|
||||
<div>
|
||||
<h3 class="ietf-divider">From {{ feedback.author|formatted_email|default:"Anonymous" }} ({{ feedback.time|date:"Y-m-d" }})</h3>
|
||||
{% ifequal ft.slug "nomina" %}
|
||||
{% if ft.slug == "nomina" %}
|
||||
{% for fn in feedback.nomination_set.all %}
|
||||
{% if fn.candidate_name %}
|
||||
<h3>Candidate name:</h3> <pre>{{ fn.candidate_name }}</pre>
|
||||
|
@ -40,7 +40,7 @@
|
|||
<h3>Candidate phone:</h3> <pre>{{ fn.candidate_phone }}</pre>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
<h3>Positions:</h3> <pre>{{ feedback.positions.all|join:"," }}</pre>
|
||||
{% if feedback.subject %}
|
||||
<h3>Subject:</h3> <pre>{{ feedback.subject }}</pre>
|
||||
|
@ -48,7 +48,7 @@
|
|||
<h3>Body</h3>
|
||||
<pre>{% decrypt feedback.comments request year 1 %}</pre>
|
||||
</div>
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
{% for feedback in ft.feedback %}
|
||||
<div>
|
||||
<h3 class="ietf-divider">From {{ feedback.author|formatted_email|default:"Anonymous" }} ({{ feedback.time|date:"Y-m-d" }})</h3>
|
||||
{% ifequal ft.slug "nomina" %}
|
||||
{% if ft.slug == "nomina" %}
|
||||
{% for fn in feedback.nomination_set.all %}
|
||||
{% if fn.candidate_name %}
|
||||
<p><b>Candidate name:</b> {{ fn.candidate_name }}</p>
|
||||
|
@ -39,7 +39,7 @@
|
|||
<p><b>Candidate phone:</b> {{ fn.candidate_phone }}</p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endifequal %}
|
||||
{% endif %}
|
||||
<b>Positions:</b> {{ feedback.positions.all|join:"," }}
|
||||
<pre>{% decrypt feedback.comments request year 1 %}</pre>
|
||||
</div>
|
||||
|
|
|
@ -94,7 +94,7 @@ th {
|
|||
<td class='{% cycle 'even' 'odd'%}'>{{ role.name }} in {{ role.group.acronym|upper }} ({{ role.group.type }})</td>
|
||||
<td class='{% cycle 'even' 'odd'%}'>
|
||||
<select name="role_email_{{role.id}}">
|
||||
{% for email in emails %}<option value="{{email.address}}"{% ifequal email.address role.email.address %} selected="selected"{% endifequal %} class='{% if email.active %}active{% else %}inactive{% endif %}'>{{email}}</option>
|
||||
{% for email in emails %}<option value="{{email.address}}"{% if email.address == role.email.address %} selected="selected"{% endif %} class='{% if email.active %}active{% else %}inactive{% endif %}'>{{email}}</option>
|
||||
{% endfor %}</select></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
|
|
@ -3,6 +3,6 @@ To: IETF-Announce <ietf-announce@ietf.org>{% if group.list_email %}
|
|||
Cc: {{ group.acronym }} {{ group.type.name }} <{{ group.list_email }}> {% endif %}
|
||||
Subject: WG Action: {{ action_type }} {{ group.name }} ({{ group.acronym }})
|
||||
|
||||
{% filter wordwrap:73 %}{% ifequal action_type "Formed" %}A new IETF working group has been formed in the {{ group.parent.name }}.{% endifequal %}{% ifequal action_type "Rechartered" %}The {{ group.name }} ({{ group.acronym }}) working group in the {{ group.parent.name }} of the IETF has been rechartered.{% endifequal %} For additional information please contact the Area Directors or the {{ group.type.name }} Chair{{ chairs|pluralize}}.
|
||||
{% filter wordwrap:73 %}{% if action_type == "Formed" %}A new IETF working group has been formed in the {{ group.parent.name }}.{% endif %}{% if action_type == "Rechartered" %}The {{ group.name }} ({{ group.acronym }}) working group in the {{ group.parent.name }} of the IETF has been rechartered.{% endif %} For additional information please contact the Area Directors or the {{ group.type.name }} Chair{{ chairs|pluralize}}.
|
||||
|
||||
{% include "wgcharter/group_info.txt" %}{% endfilter %}{% endautoescape %}
|
||||
|
|
|
@ -3,6 +3,6 @@ To: IETF-Announce <ietf-announce@ietf.org>{% if group.list_email %}
|
|||
Cc: {{ group.acronym }} {{ group.type.name }} <{{ group.list_email }}> {% endif %}
|
||||
Subject: WG Review: {{ group.name }} ({{ group.acronym }})
|
||||
|
||||
{% filter wordwrap:73 %}{% ifequal review_type "new" %}A new IETF working group has been proposed in the {{ group.parent.name }}.{% endifequal %}{% ifequal review_type "recharter" %}The {{ group.name }} ({{group.acronym}}) working group in the {{ group.parent.name }} of the IETF is undergoing rechartering.{% endifequal %} The IESG has not made any determination yet. The following draft charter was submitted, and is provided for informational purposes only. Please send your comments to the IESG mailing list (iesg at ietf.org) by {{ review_date }}.
|
||||
{% filter wordwrap:73 %}{% if review_type == "new" %}A new IETF working group has been proposed in the {{ group.parent.name }}.{% endif %}{% if review_type == "recharter" %}The {{ group.name }} ({{group.acronym}}) working group in the {{ group.parent.name }} of the IETF is undergoing rechartering.{% endif %} The IESG has not made any determination yet. The following draft charter was submitted, and is provided for informational purposes only. Please send your comments to the IESG mailing list (iesg at ietf.org) by {{ review_date }}.
|
||||
|
||||
{% include "wgcharter/group_info.txt" %}{% endfilter %}{% endautoescape %}
|
||||
|
|
Loading…
Reference in a new issue