{# bs5ok #} {% extends "base.html" %} {# Copyright The IETF Trust 2021, All Rights Reserved #} {% load origin %} {% load static %} {% load ietf_filters %} {% load person_filters %} {% block title %}{{ doc.title }}{% endblock %} {% block content %} {% origin %} {{ top|safe }} {% include "doc/revisions_list.html" %}
{% if doc.rev != latest_rev %}Document | Type | {{ doc.get_state.slug|capfirst }} BOF request {% if snapshot %}Snapshot{% endif %} | |
---|---|---|---|
Title | {% if not snapshot %} {% if editor_can_manage or can_manage %} {% doc_edit_button 'ietf.doc.views_bofreq.edit_title' name=doc.name %} {% endif %} {% endif %} | {{ doc.title }} | |
Last updated | {{ doc.time|date:"Y-m-d" }} | ||
State | {% if not snapshot and can_manage %} {% doc_edit_button 'ietf.doc.views_bofreq.change_state' name=doc.name %} {% endif %} | {% if doc.get_state %} {{ doc.get_state.name }} {% else %} No document state {% endif %} | |
Editor{{ editors|pluralize }} | {% if not snapshot %} {% if editor_can_manage or can_manage %} {% doc_edit_button 'ietf.doc.views_bofreq.change_editors' name=doc.name %} {% endif %} {% endif %} | {% for editor in editors %} {% person_link editor %} {% if not forloop.last %},{% endif %} {% endfor %} | |
Responsible Leadership | {% if not snapshot %} {% if can_manage %} {% doc_edit_button 'ietf.doc.views_bofreq.change_responsible' name=doc.name %} {% endif %} {% endif %} | {% for leader in responsible %} {% person_link leader %} {% if not forloop.last %},{% endif %} {% endfor %} | |
Additional Resources | {% if editor_can_manage or can_manage %} Edit {% endif %} |
{% if resources %}
{% for resource in resources|dictsort:"display_name" %}
{% if resource.name.type.slug == 'url' or resource.name.type.slug == 'email' %}
{% firstof resource.display_name resource.name.name %}
{# Maybe make how a resource displays itself a method on the class so templates aren't doing this switching #} {% else %} {% firstof resource.display_name resource.name.name %}: {{ resource.value }} {% endif %} {% endfor %} {% endif %} |
|
Send notices to | {% if not snapshot %} {% if can_manage %} {% doc_edit_button 'ietf.doc.views_doc.edit_notify' name=doc.name %} {% endif %} {% endif %} | {{ doc.notify|default:"(None)" }} |