fix: Add period after description of important date. (#5105)

Also make the table sortable and searchable.
This commit is contained in:
Lars Eggert 2023-02-08 19:13:31 +02:00 committed by GitHub
parent 7cbc70237a
commit eec98f01d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,9 @@
{# Copyright The IETF Trust 2017, All Rights Reserved #} {# Copyright The IETF Trust 2017, All Rights Reserved #}
{% load origin %} {% load origin %}
{% load ietf_filters static textfilters ietf_filters %} {% load ietf_filters static textfilters ietf_filters %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %}
{% block title %}IETF {{ meetings.0.number }}: Important Dates{% endblock %} {% block title %}IETF {{ meetings.0.number }}: Important Dates{% endblock %}
{% block content %} {% block content %}
{% origin %} {% origin %}
@ -21,10 +24,10 @@
<br> <br>
<small class="text-muted">{{ meeting.date }}, {{ meeting.city }}, {{ meeting.country }}</small> <small class="text-muted">{{ meeting.date }}, {{ meeting.city }}, {{ meeting.country }}</small>
</h2> </h2>
<table class="table table-striped"> <table class="table table-striped tablesorter">
<thead> <thead>
<tr> <tr>
<th scope="col">Date</th> <th scope="col" data-sort="date">Date</th>
<th scope="col">Weekday</th> <th scope="col">Weekday</th>
<th scope="col">Description</th> <th scope="col">Description</th>
</tr> </tr>
@ -42,7 +45,7 @@
{% endif %} {% endif %}
</td> </td>
<td> <td>
{{ d.name.desc|urlize_ietf_docs|linkify }} {{ d.name.desc|urlize_ietf_docs|linkify }}{% if d.name.desc|slice:"-1:" != "." %}.{% endif %}
{% if first and d.name.slug == 'openreg' or first and d.name.slug == 'earlybird' %} {% if first and d.name.slug == 'openreg' or first and d.name.slug == 'earlybird' %}
<a href="https://www.ietf.org/how/meetings/register/">Register here</a>. <a href="https://www.ietf.org/how/meetings/register/">Register here</a>.
{% endif %} {% endif %}
@ -78,4 +81,7 @@
</table> </table>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %} {% endblock %}