datatracker/ietf/templates/iesg/agenda_doc.html
Ole Laursen a589115ff4 Summary: Reindent all HTML files to follow the previous convention (no
tabs) and kill the scripts block in favour of just using a js block with
a script tag (which is easier to understand for context-sensitive
modes such as web-mode in Emacs). Also fix a couple of details, e.g.
missing semicolons in JS snippets.
 - Legacy-Id: 9096
2015-02-17 18:01:04 +00:00

61 lines
1.6 KiB
HTML

{% load ietf_filters ballot_icon %}
<div class="pull-right">{% ballot_icon doc %}</div>
<dl class="dl-horizontal">
<dt>
{% if doc.stream %}
{{ doc.stream }} stream
{% endif %}
</dt>
<dd class="no-table">
{% with doc.rfc_number as rfc_number %}
{% if rfc_number %}
<a href="//www.rfc-editor.org/rfc/rfc{{rfc_number}}/">
{% else %}
<a href="{{doc.href}}">
{% endif %}
<span class="fa fa-file"></span></a>
{% endwith %}
<a href="{% url "doc_view" name=doc.canonical_name %}">{{ doc.canonical_name }}</a>
</dd>
<dt>{{ doc.intended_std_level }}</dt><dd><b>{{ doc.title }}</b></dd>
{% if doc.note %}
<dt>Note</dt><dd>{{ doc.note|linebreaksbr }}</dd>
{% endif %}
<dt>Token</dt><dd>{{ doc.ad }} ({{ doc.area_acronym|upper }} area)</dd>
{% with doc.active_defer_event as defer %}
{% if defer %}
<dt>Deferred by</dt><dd>{{ defer.by }} on {{ defer.time|date:"Y-m-d" }}</dd>
{% endif %}
{% endwith %}
{% if doc.iana_review_state %}
<dt>IANA review</dt><dd>{{ doc.iana_review_state }}<dd>
{% endif %}
{% if doc.consensus %}
<dt>Consensus</dt><dd>{{ doc.consensus }}</dd>
{% endif %}
{% if doc.lastcall_expires %}
<dt>Last call expires</dt><dd>{{ doc.lastcall_expires|date:"Y-m-d" }}</dd>
{% endif %}
{% if doc.ipr %}
<dt>IPR</dt>
<dd>
{% for ipr in doc.ipr %}
{% if ipr.disclosure.state_id == "posted" %}
<a href="/ipr/{{ ipr.disclosure.id }}/">{{ ipr.disclosure.title }}</a><br>
{% endif %}
{% endfor %}
</dd>
{% endif %}
</dl>