{% extends "base.html" %} {# Copyright The IETF Trust 2021, All Rights Reserved #} {% load origin %} {% load static %} {% load ietf_filters %} {% load person_filters textfilters %} {% block title %}{{ doc.title }}{% endblock %} {% block content %} {% origin %} {{ top|safe }} {% include "doc/revisions_list.html" %}
{% if doc.rev != latest_rev %}
The information below is for an older version of this BOF request.
{% endif %} {% with doc.docextresource_set.all as resources %} {% if resources or editor_can_manage or can_manage %} {% endif %} {% endwith %}
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|escape }}
{% 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)' }}
{% if not snapshot %} {% if editor_can_manage or can_manage %}

Change BOF request text

{% endif %} {% endif %}
{{ doc.name }}-{{ doc.rev }}
{{ content }}
{% endblock %} {% block js %} {% endblock %}