Fix HTML bug. - Legacy-Id: 9804 Note: SVN reference [9783] has been migrated to Git commit e73f682c1a7f71d666c5269fe984ce88619ba829
63 lines
1.5 KiB
HTML
63 lines
1.5 KiB
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}
|
|
|
|
{% block title %}{{ title }}{% endblock %}
|
|
|
|
{% block content %}
|
|
{% origin %}
|
|
<h1>{{ title }}</h1>
|
|
|
|
{% if state_type.slug == "draft-iesg" %}
|
|
<p><a class="btn btn-default" href="/images/iesg-draft-state-diagram.png">View diagram</a></p>
|
|
{% endif %}
|
|
|
|
<table class="table table-condensed table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>State</th>
|
|
<th>Description</th>
|
|
{% if has_next_states %}<th>Next State</th>{% endif %}
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for state in states %}
|
|
<tr class="anchor-target" id="{{ state.slug|default:"idexists" }}">
|
|
<th>{{ state.name }}</th>
|
|
<td>{{ state.desc|safe|linebreaksbr }}</td>
|
|
{% if has_next_states %}
|
|
<td>
|
|
{% for s in state.next_states.all %}
|
|
{{ s.name }}<br/>
|
|
{% endfor %}
|
|
</td>
|
|
{% endif %}
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
{% if tags %}
|
|
<h2>Tags</h2>
|
|
|
|
<table class="table table-condensed table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Tag</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
{% for tag in tags %}
|
|
<tr class="anchor-target" id="{{ tag.slug }}">
|
|
<td>{{ tag.name }}</td>
|
|
<td>{{ tag.desc|linebreaksbr }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|