Fix the links on the state help index page. Fixes #1775. Commit ready for merge.

- Legacy-Id: 10426
This commit is contained in:
Robert Sparks 2015-11-05 02:03:40 +00:00
parent d97c29fdcf
commit 7e39db81ea

View file

@ -23,10 +23,10 @@
{% for type in types %}
{% if type.stategroups != None %}
<tr>
<td><a href='{{ type.slug }}/'>{{type.slug}}</a></td>
<td><a href="{% url 'ietf.help.views.state' doc=type.slug %}">{{type.slug}}</a></td>
<td>
{% for group in type.stategroups %}
<a href='{{ type.slug }}/{{ group }}'>{{ group }}</a>{% if not forloop.last %}, {% endif %}
<a href="{% url 'ietf.help.views.state' doc=type.slug type=group %}">{{ group }}</a>{% if not forloop.last %}, {% endif %}
{% endfor %}
</td>
</tr>