datatracker/ietf/templates/doc/index_active_drafts.html
Henrik Levkowetz 1832976b94 Added caching for the /doc/active page.
- Legacy-Id: 18625
2020-10-22 11:25:24 +00:00

42 lines
1.4 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load static %}
{% load cache %}
{% block title %}Active Internet-Drafts{% endblock %}
{% block content %}
{% cache 900 ietf_doc_index_active_drafts %}
{% origin %}
<h1>Active Internet-Drafts</h1>
<p>This page lists all active Internet-Drafts, grouped by responsible
group. For normal use, it is recommended to use the
<a href="{% url 'ietf.doc.views_search.search' %}">search page</a>.</p>
<p>There is also an <a href="{% url 'ietf.doc.views_search.index_all_drafts' %}">index of all
Internet-Drafts</a> (that page also lists some machine-readable files
for download).</p>
<p class="buttonlist">
{% for group in groups %}
<a class="btn btn-default btn-xs" href="#{{ group.acronym }}">{{ group.acronym }}</a>
{% endfor %}
</p>
{% for group in groups %}
<h2 class="anchor-target" id="{{ group.acronym }}">{{ group.name }} ({{ group.acronym }})</h2>
{% for d in group.active_drafts %}
<p>
<b>{{ d.title }}.</b><br>
{% for a in d.authors %}
{{ a }}{% if not forloop.last %}, {% else %}.{% endif %}
{% endfor %}
<br><a href="/doc/{{ d.name }}/">{{ d.name }}-{{ d.rev }}</a>
<br>{{ d.rev_time|date:"Y-m-d" }}
</p>
{% endfor %}
{% endfor %}
{% endcache %}
{% endblock %}