82 lines
3.5 KiB
HTML
82 lines
3.5 KiB
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}
|
|
{% load ietf_filters static %}
|
|
{% load textfilters person_filters %}
|
|
{% block pagehead %}
|
|
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
|
|
{% endblock %}
|
|
{% block title %}{{ title }}{% endblock %}
|
|
{% block content %}
|
|
{% origin %}
|
|
<h1>{{ title }}</h1>
|
|
<table class="table table-sm table-striped tablesorter">
|
|
<thead>
|
|
<tr>
|
|
<th data-sort="area">Area</th>
|
|
<th data-sort="date">
|
|
{% if state.slug == "lc" %}
|
|
Expires at
|
|
{% else %}
|
|
Date
|
|
{% endif %}
|
|
</th>
|
|
<th data-sort="doc">Document</th>
|
|
<th data-sort="level">Intended level</th>
|
|
<th data-sort="ad">AD</th>
|
|
</tr>
|
|
</thead>
|
|
{% for state, docs in grouped_docs %}
|
|
<thead>
|
|
<tr class="table-info">
|
|
<th colspan="5">{{ state.name }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for doc in docs %}
|
|
<tr>
|
|
<td>
|
|
{% if doc.area_acronym %}
|
|
<a href="{% url "ietf.group.views.group_home" acronym=doc.area_acronym %}">{{ doc.area_acronym }}</a>
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
{% if state.slug == "lc" %}
|
|
{% if doc.lc_expires %}{{ doc.lc_expires|date:"Y-m-d" }}{% endif %}
|
|
{% else %}
|
|
{{ doc.time|date:"Y-m-d" }}
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
<a href="{% url "ietf.doc.views_doc.document_main" doc.name %}">{{ doc.name }}</a>
|
|
<br>
|
|
<b>{{ doc.title }}</b>
|
|
{% if doc.action_holders_enabled and doc.action_holders.exists %}
|
|
<br>
|
|
Action holder{{ doc.documentactionholder_set.all|pluralize }}:
|
|
{% for action_holder in doc.documentactionholder_set.all %}
|
|
{% person_link action_holder.person title=action_holder.role_for_doc %} {{ action_holder|action_holder_badge }}{% if not forloop.last %},{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% if doc.note %}
|
|
<br>
|
|
<i>Note: {{ doc.note|linkify|urlize_ietf_docs|linebreaksbr }}</i>
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
{% if doc.intended_std_level %}
|
|
{{ doc.intended_std_level.name }}
|
|
{% else %}
|
|
<span class='text-muted'>(None)</span>
|
|
{% endif %}
|
|
</td>
|
|
<td>{% person_link doc.ad %}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
{% endfor %}
|
|
</table>
|
|
{% endblock %}
|
|
{% block js %}
|
|
<script src="{% static "ietf/js/list.js" %}"></script>
|
|
{% endblock %} |