Skip to content

Commit 7e39db8

Browse files
committed
Fix the links on the state help index page. Fixes ietf-tools#1775. Commit ready for merge.
- Legacy-Id: 10426
1 parent d97c29f commit 7e39db8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/templates/help/state_index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ <h1>Document state index</h1>
2323
{% for type in types %}
2424
{% if type.stategroups != None %}
2525
<tr>
26-
<td><a href='{{ type.slug }}/'>{{type.slug}}</a></td>
26+
<td><a href="{% url 'ietf.help.views.state' doc=type.slug %}">{{type.slug}}</a></td>
2727
<td>
2828
{% for group in type.stategroups %}
29-
<a href='{{ type.slug }}/{{ group }}'>{{ group }}</a>{% if not forloop.last %}, {% endif %}
29+
<a href="{% url 'ietf.help.views.state' doc=type.slug type=group %}">{{ group }}</a>{% if not forloop.last %}, {% endif %}
3030
{% endfor %}
3131
</td>
3232
</tr>

0 commit comments

Comments
 (0)