63 lines
1.9 KiB
HTML
63 lines
1.9 KiB
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}
|
|
{% load ietf_filters static %}
|
|
{% load textfilters %}
|
|
|
|
{% block pagehead %}
|
|
<link rel="stylesheet" href="{% static "jquery.tablesorter/css/theme.bootstrap.min.css" %}">
|
|
{% endblock %}
|
|
|
|
{% block title %}{{ title }}{% endblock %}
|
|
|
|
{% block content %}
|
|
{% origin %}
|
|
<h1>{{ title }}</h1>
|
|
|
|
<table class="table table-condensed table-striped tablesorter">
|
|
<thead>
|
|
<tr>
|
|
<th class="text-nowrap">Area</th>
|
|
<th class="text-nowrap">{% if state.slug == "lc" %}Expires at{% else %}Date{% endif %}</th>
|
|
<th>Document</th>
|
|
<th>Intended level</th>
|
|
<th>AD</th>
|
|
</tr>
|
|
</thead>
|
|
{% for state, docs in grouped_docs %}
|
|
<tbody>
|
|
<tr class="info"><th colspan="5">{{ state.name }}</th></tr>
|
|
</tbody>
|
|
<tbody>
|
|
{% for doc in docs %}
|
|
<tr>
|
|
<td class="text-nowrap">{% if doc.area_acronym %}{{ doc.area_acronym }}{% endif %}</td>
|
|
<td class="text-nowrap">
|
|
{% 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.note %}
|
|
<br><i>Note: {{ doc.note|linkify|linebreaksbr }}</i>
|
|
{% endif %}
|
|
</td>
|
|
<td>{{ doc.intended_std_level.name }}</td>
|
|
<td><a href="mailto:{{ doc.ad.email_address|urlencode }}">{{ doc.ad.plain_name }}</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
{% endblock %}
|
|
|
|
{% block js %}
|
|
<script src="{% static "jquery.tablesorter/js/jquery.tablesorter.combined.min.js" %}"></script>
|
|
{% endblock %}
|