feat: Linkify state descriptions (#4916)

This commit is contained in:
Lars Eggert 2022-12-19 17:03:44 +02:00 committed by GitHub
parent cab9b1c5e5
commit c3e7c1e188
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #} {# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin static %} {% load origin static ietf_filters textfilters %}
%}
{% block pagehead %} {% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}"> <link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %} {% endblock %}
@ -20,7 +21,7 @@
{% for state in states %} {% for state in states %}
<tr> <tr>
<th scope="row">{{ state.name }}</th> <th scope="row">{{ state.name }}</th>
<td>{{ state.desc|safe }}</td> <td>{{ state.desc|urlize_ietf_docs|linkify }}</td>
<td> <td>
<ul> <ul>
{% for s in state.next_states.all %} {% for s in state.next_states.all %}