* Redirect /help/state/draft/* to /doc/help/state/draft-* * Adjust document state index to use /doc/help/state for URLs * Move all state help to /doc. Fixes #3802 * Move state index redirect into urls file.
48 lines
1.9 KiB
HTML
48 lines
1.9 KiB
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin static %}
|
|
{% block pagehead %}
|
|
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
|
|
{% endblock %}
|
|
{% block title %}Document state index{% endblock %}
|
|
{% block content %}
|
|
{% origin %}
|
|
<h1>Document state index</h1>
|
|
<p>
|
|
Document state information is available for the following document and document state groups.
|
|
</p>
|
|
<table class="table table-sm table-striped tablesorter">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col" data-sort="document">Document</th>
|
|
<th scope="col" data-sort="state">State groups</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for type in types %}
|
|
{% if type.stategroups != None %}
|
|
<tr>
|
|
<td>
|
|
<a href="{% url 'ietf.doc.views_help.state_help' type=type.slug %}">{{ type.slug }}</a>
|
|
</td>
|
|
<td>
|
|
{% for group in type.stategroups %}
|
|
{# djlint:off #}
|
|
{% if type.slug == "draft" %}
|
|
<a href="{% url 'ietf.doc.views_help.state_help' type=type.slug|add:'-'|add:group %}">
|
|
{% else %}
|
|
<a href="{% url 'ietf.help.views.state' doc=type.slug type=group %}">
|
|
{% endif %}
|
|
{{ group }}</a>{% if not forloop.last %},{% endif %}
|
|
{# djlint:on #}
|
|
{% endfor %}
|
|
</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|
|
{% block js %}
|
|
<script src="{% static "ietf/js/list.js" %}"></script>
|
|
{% endblock %} |