diff --git a/ietf/templates/doc/document_draft.html b/ietf/templates/doc/document_draft.html index f74b3b8c8..d6fc15904 100644 --- a/ietf/templates/doc/document_draft.html +++ b/ietf/templates/doc/document_draft.html @@ -13,7 +13,7 @@ {% endblock %} {% block morecss %} -.inline { display: inline; } +.inline { display: inline; } {% endblock %} {% block title %} @@ -34,75 +34,75 @@ - {% if doc.rev != latest_rev %} - - {% else %} - - {% endif %} + {% if doc.rev != latest_rev %} + + {% else %} + + {% endif %} - - - - + + + + {% if obsoleted_by %}
Obsoleted by {{ obsoleted_by|join:", "|urlize_ietf_docs }}
{% endif %} + {% if updated_by %}
Updated by {{ updated_by|join:", "|urlize_ietf_docs }}
{% endif %} + {% if obsoletes %}
Obsoletes {{ obsoletes|join:", "|urlize_ietf_docs }}
{% endif %} + {% if updates %}
Updates {{ updates|join:", "|urlize_ietf_docs }}
{% endif %} + {% if status_changes %}
Status changed by {{ status_changes|join:", "|urlize_ietf_docs }}
{% endif %} + {% if proposed_status_changes %}
Proposed status changed by {{ proposed_status_changes|join:", "|urlize_ietf_docs }}
{% endif %} + {% if rfc_aliases %}
Also known as {{ rfc_aliases|join:", "|urlize_ietf_docs }}
{% endif %} + {% if draft_name %}
Was {{ draft_name }} {% if submission %}({{ submission|safe }}){% endif %}
{% endif %} + {% else %} + {{ doc.get_state }} Internet-Draft {% if submission %}({{ submission|safe }}){% endif %} + {% if resurrected_by %}- resurrect requested by {{ resurrected_by }}{% endif %} + {% endif %} + - - - - + + + + {% if replaces or can_edit_stream_info %} - - - - + + + - - + Edit + {% endif %} + + + {% endif %} {% if replaced_by %} - - - - - - + + + + + + {% endif %} {% if can_view_possibly_replaces %} @@ -139,76 +139,76 @@ - - + - + Edit + {% endif %} + + {% if doc.get_state_slug != "rfc" %} - - - - + + + - - + {% endif %} + + + {% endif %} - - - + + + {% for check in doc.submission.latest_checks %} - {% if check.passed != None and check.symbol.strip %} - - - - - - - {% endif %} + {% if check.passed != None and check.symbol.strip %} + + + + + + + {% endif %} {% endfor %} {% if review_assignments or can_request_review %} - + + - - - - + + + + {% endif %} {% with doc.documenturl_set.all as urls %} {% if urls or can_edit_stream_info or can_edit_individual %} - + - - - + + {% endif %} {% endwith %} @@ -272,55 +272,55 @@ - - {% if doc.stream %} - - + {% if doc.stream %} + + - + - {% else %} - - - - {% endif %} + {% if stream_tags %} +
{% for tag in stream_tags %}{{ tag.name }}{% if not forloop.last %}, {% endif %}{% endfor %}
+ {% endif %} + + {% else %} + + + + {% endif %} {% if consensus and not doc.stream_id == 'ietf' %} - - - - + + + - - + Edit + {% endif %} + + + {% endif %} {% if presentations or user|has_role:"Secretariat,Area Director,WG Chair,WG Secretary,RG Chair,RG Secretary,IRTF Chair,Team Chair" or can_edit_stream_info %} @@ -338,10 +338,10 @@ - - - + + + - - + {% if can_edit_stream_info and not snapshot %} + Edit + {% elif is_shepherd %} + Change Email + {% endif %} + + + {% if shepherd_writeup or can_edit_shepherd_writeup %} - - - - - - + + + + + + {% endif %} {% else %} - - - - - - + + + + + + {% endif %} {% if published and started_iesg_process and published.time < started_iesg_process.time %} - - - - + + + + {% endif %} {% if not doc.stream_id == 'iab' %} - - - - - - + + + + + + {% if consensus and doc.stream_id == 'ietf' %} - - - - - - + + + + + + {% endif %} - - - - - + + + + - + {% if ballot_summary %} +
{{ ballot_summary }} + {% endif %} + + - - - - - - + + + + + + {% if iesg_state.slug != 'idexists' %} - {% if doc.note or can_edit %} - - - - - - - {% endif %} - {% endif %} + {% if doc.note or can_edit %} + + + + + + + {% endif %} + {% endif %} - - - - - - + + + + + + {% endif %} @@ -517,41 +517,41 @@ {% if iana_review_state %} - - - + + - + Edit + {% endif %} + + - - + - + Edit + {% endif %} + + {% endif %} {% if rfc_editor_state %} - - - - - - + + + + + + {% endif %} @@ -607,8 +607,8 @@

- This Internet-Draft is no longer active. A copy of - the expired Internet-Draft can be found at
+ This Internet-Draft is no longer active. A copy of + the expired Internet-Draft can be found at
{{doc.href}}
@@ -623,7 +623,7 @@ {% if author.email %} - {% endif %} + {% endif %} {{ author.person }} {% if author.email %} ({{ author.email.address }})
The information below is for an old version of the documentThe information below is for an old version of the document
DocumentType - {% if doc.get_state_slug == "rfc" %} - RFC - {{ doc.std_level }} - ({% if published %}{{ published.time|date:"F Y" }}{% else %}publication date unknown{% endif %}{% if has_errata %}; Errata{% else %}; No errata{% endif %}) + DocumentType + {% if doc.get_state_slug == "rfc" %} + RFC - {{ doc.std_level }} + ({% if published %}{{ published.time|date:"F Y" }}{% else %}publication date unknown{% endif %}{% if has_errata %}; Errata{% else %}; No errata{% endif %}) - {% if obsoleted_by %}
Obsoleted by {{ obsoleted_by|join:", "|urlize_ietf_docs }}
{% endif %} - {% if updated_by %}
Updated by {{ updated_by|join:", "|urlize_ietf_docs }}
{% endif %} - {% if obsoletes %}
Obsoletes {{ obsoletes|join:", "|urlize_ietf_docs }}
{% endif %} - {% if updates %}
Updates {{ updates|join:", "|urlize_ietf_docs }}
{% endif %} - {% if status_changes %}
Status changed by {{ status_changes|join:", "|urlize_ietf_docs }}
{% endif %} - {% if proposed_status_changes %}
Proposed status changed by {{ proposed_status_changes|join:", "|urlize_ietf_docs }}
{% endif %} - {% if rfc_aliases %}
Also known as {{ rfc_aliases|join:", "|urlize_ietf_docs }}
{% endif %} - {% if draft_name %}
Was {{ draft_name }} {% if submission %}({{ submission|safe }}){% endif %}
{% endif %} - {% else %} - {{ doc.get_state }} Internet-Draft {% if submission %}({{ submission|safe }}){% endif %} - {% if resurrected_by %}- resurrect requested by {{ resurrected_by }}{% endif %} - {% endif %} -
Last updated - {{ doc.time|date:"Y-m-d" }} - {% if latest_revision and latest_revision.time.date != doc.time.date %} - (latest revision {{ latest_revision.time|date:"Y-m-d" }}) - {% endif %} - Last updated + {{ doc.time|date:"Y-m-d" }} + {% if latest_revision and latest_revision.time.date != doc.time.date %} + (latest revision {{ latest_revision.time|date:"Y-m-d" }}) + {% endif %} +
Replaces +
Replaces {% if can_edit_stream_info and not snapshot %} - Edit - {% endif %} - - {{ replaces|join:", "|urlize_ietf_docs|default:"(None)" }} -
+ {{ replaces|join:", "|urlize_ietf_docs|default:"(None)" }} +
Replaced by - {{ replaced_by|join:", "|urlize_ietf_docs }} -
Replaced by + {{ replaced_by|join:", "|urlize_ietf_docs }} +
Stream + Stream {% if can_change_stream and not snapshot %} - Edit - {% endif %} - - {{ doc.stream|default:"(None)" }} - + {{ doc.stream|default:"(None)" }} +
Intended RFC status +
Intended RFC status {% if can_edit_stream_info and not snapshot %} Edit - {% endif %} - - {{ doc.intended_std_level|default:"(None)" }} -
+ {{ doc.intended_std_level|default:"(None)" }} +
Formats - {% if doc.get_state_slug != "active" and doc.get_state_slug != "rfc" %}
Expired & archived
{% endif %} - {% if file_urls %} - {% for label, url in file_urls %} - - - {{ label }} - {% endfor %} - {% else %} - (not online) - {% endif %} -
Formats + {% if doc.get_state_slug != "active" and doc.get_state_slug != "rfc" %}
Expired & archived
{% endif %} + {% if file_urls %} + {% for label, url in file_urls %} + + + {{ label }} + {% endfor %} + {% else %} + (not online) + {% endif %} +
{{ check.checker|title }} - {% if check.errors or check.warnings %} - {{ check.symbol|safe }} - {% else %} - {{ check.symbol|safe }} - {% endif %} - - {{ check.errors }} errors, {{ check.warnings }} warnings. - - {% include "doc/yang-check-modal-overlay.html" %} -
{{ check.checker|title }} + {% if check.errors or check.warnings %} + {{ check.symbol|safe }} + {% else %} + {{ check.symbol|safe }} + {% endif %} + + {{ check.errors }} errors, {{ check.warnings }} warnings. + + {% include "doc/yang-check-modal-overlay.html" %} +
Reviews {% for review_assignment in review_assignments %} {% include "doc/review_assignment_summary.html" with current_doc_name=doc.name current_rev=doc.rev %} @@ -232,39 +232,39 @@ {% if conflict_reviews %} -
IETF conflict review{{ conflict_reviews|join:", "|urlize_ietf_docs }}
IETF conflict review{{ conflict_reviews|join:", "|urlize_ietf_docs }}
Additional URLs - {% if can_edit_stream_info or can_edit_individual %} - Edit - {% endif %} - - {% if urls or doc.group and doc.group.list_archive %} - - - {% for url in urls|dictsort:"desc" %} - - {% endfor %} - {% if doc.group and doc.group.list_archive %} - - {% endif %} - -
- {% firstof url.desc url.tag.name %}
- Mailing list discussion
+
+ {% if can_edit_stream_info or can_edit_individual %} + Edit {% endif %}
+ {% if urls or doc.group and doc.group.list_archive %} + + + {% for url in urls|dictsort:"desc" %} + + {% endfor %} + {% if doc.group and doc.group.list_archive %} + + {% endif %} + +
- {% firstof url.desc url.tag.name %}
- Mailing list discussion
+ {% endif %} +
Stream - {% if doc.stream.slug != "legacy" %} - - {% if doc.stream_id == 'ietf' %} WG {% else %} {{ doc.stream }} {% endif %} state - - {% else %} - Legacy state - {% endif %} - + Stream + {% if doc.stream.slug != "legacy" %} + + {% if doc.stream_id == 'ietf' %} WG {% else %} {{ doc.stream }} {% endif %} state + + {% else %} + Legacy state + {% endif %} + {% if doc.stream and can_edit_stream_info and doc.stream.slug != "legacy" and not snapshot %} - Edit - {% endif %} - - {{ stream_state|default:"(None)" }} + Edit + {% endif %} + + {{ stream_state|default:"(None)" }} - {% if milestones %} (wg milestone{{ milestones|pluralize }}: - {% for m in milestones %} - {{ m.due|date:"M Y" }} - {{m}}{% if not forloop.last %},{% endif %} - {% endfor %}) - {% endif %} + {% if milestones %} (wg milestone{{ milestones|pluralize }}: + {% for m in milestones %} + {{ m.due|date:"M Y" }} - {{m}}{% if not forloop.last %},{% endif %} + {% endfor %}) + {% endif %} - {% if stream_tags %} -
{% for tag in stream_tags %}{{ tag.name }}{% if not forloop.last %}, {% endif %}{% endfor %}
- {% endif %} -
Stream state(No stream defined)Stream state(No stream defined)
Consensus Boilerplate +
Consensus Boilerplate {% if can_edit_stream_info and not snapshot %} - Edit - {% endif %} - - {{ consensus }} -
+ {{ consensus }} +
{% if presentations %} {% for pres in presentations %} - - {{ pres.session.short_name }} at {{ pres.session.meeting }} - {% if pres.rev and pres.rev != doc.rev %}(version -{{ pres.rev }}){% endif %}{% if not forloop.last %}, {% endif %} - {% endfor %} + + {{ pres.session.short_name }} at {{ pres.session.meeting }} + {% if pres.rev and pres.rev != doc.rev %}(version -{{ pres.rev }}){% endif %}{% if not forloop.last %}, {% endif %} + {% endfor %} {% else %} None {% endif %} @@ -350,166 +350,166 @@ {% endif %} {% if doc.stream_id == 'ietf' or doc.stream_id == 'ise' or doc.stream_id == 'irtf' %} -
Document shepherd +
Document shepherd - {% if can_edit_stream_info and not snapshot %} - Edit - {% elif is_shepherd %} - Change Email - {% endif %} - - {% if doc.shepherd %}{{ doc.shepherd.person }}{% else %}No shepherd assigned{% endif %} -
+ {% if doc.shepherd %}{{ doc.shepherd.person }}{% else %}No shepherd assigned{% endif %} +
Shepherd write-up - {% if can_edit_shepherd_writeup %} - {% url 'ietf.doc.views_draft.edit_shepherd_writeup' name=doc.name as doc_edit_url %} - {% if doc_edit_url %} - Edit - {% endif %} - {% endif %} - - {% if shepherd_writeup %} - Show - (last changed {{ shepherd_writeup.time|date:"Y-m-d"}}) - {% else %} - (None) - {% endif %} -
Shepherd write-up + {% if can_edit_shepherd_writeup %} + {% url 'ietf.doc.views_draft.edit_shepherd_writeup' name=doc.name as doc_edit_url %} + {% if doc_edit_url %} + Edit + {% endif %} + {% endif %} + + {% if shepherd_writeup %} + Show + (last changed {{ shepherd_writeup.time|date:"Y-m-d"}}) + {% else %} + (None) + {% endif %} +
RFC Editor Note - {% if can_edit_stream_info %} - Edit - {% endif %} - - {% if doc.has_rfc_editor_note %}(last changed {{ doc.has_rfc_editor_note|date:"Y-m-d"}}){% else %}(None){% endif %} -
RFC Editor Note + {% if can_edit_stream_info %} + Edit + {% endif %} + + {% if doc.has_rfc_editor_note %}(last changed {{ doc.has_rfc_editor_note|date:"Y-m-d"}}){% else %}(None){% endif %} +
This information refers to IESG processing after the RFC was initially published:
This information refers to IESG processing after the RFC was initially published:
IESGIESG state - {% if iesg_state.slug != 'idexists' and can_edit %} - Edit - {% endif %} - - {{ iesg_state_summary|default:"I-D Exists" }} -
IESGIESG state + {% if iesg_state.slug != 'idexists' and can_edit %} + Edit + {% endif %} + + {{ iesg_state_summary|default:"I-D Exists" }} +
Consensus Boilerplate - {% if can_edit or can_edit_stream_info and not snapshot %} - Edit - {% endif %} - - {{ consensus }} -
Consensus Boilerplate + {% if can_edit or can_edit_stream_info and not snapshot %} + Edit + {% endif %} + + {{ consensus }} +
Telechat date - {% if can_edit and not snapshot %} - Edit - {% endif %} - - {% if telechat %} - On agenda of {{ telechat.telechat_date }} IESG telechat - {% if telechat.returning_item %} - (returning item) - {% endif %} - {% else %} - {% if can_edit %} - (None) - {% endif %} - {% endif %} +
Telechat date + {% if can_edit and not snapshot %} + Edit + {% endif %} + + {% if telechat %} + On agenda of {{ telechat.telechat_date }} IESG telechat + {% if telechat.returning_item %} + (returning item) + {% endif %} + {% else %} + {% if can_edit %} + (None) + {% endif %} + {% endif %} - {% if ballot_summary %} -
{{ ballot_summary }} - {% endif %} -
Responsible AD - {% if can_edit %} - Edit - {% endif %} - - {{ doc.ad|default:"(None)" }} -
Responsible AD + {% if can_edit %} + Edit + {% endif %} + + {{ doc.ad|default:"(None)" }} +
IESG note - {% if can_edit and not snapshot %} - Edit - {% endif %} - - {{ doc.note|default:"(None)"|linebreaksbr }} -
IESG note + {% if can_edit and not snapshot %} + Edit + {% endif %} + + {{ doc.note|default:"(None)"|linebreaksbr }} +
Send notices to - {% if can_edit_notify and not snapshot %} - Edit - {% endif %} - - {{ doc.notify|default:"(None)"}} -
Send notices to + {% if can_edit_notify and not snapshot %} + Edit + {% endif %} + + {{ doc.notify|default:"(None)"}} +
IANAIANA review state + IANAIANA review state {% if can_edit_iana_state and not snapshot %} - Edit - {% endif %} - - {{ iana_review_state }} - + {{ iana_review_state }} +
IANA action state + IANA action state {% if can_edit_iana_state and not snapshot %} - Edit - {% endif %} - - {{ iana_action_state }} - + {{ iana_action_state }} +
RFC EditorRFC Editor state{{ rfc_editor_state }}
RFC EditorRFC Editor state{{ rfc_editor_state }}