tabs) and kill the scripts block in favour of just using a js block with a script tag (which is easier to understand for context-sensitive modes such as web-mode in Emacs). Also fix a couple of details, e.g. missing semicolons in JS snippets. - Legacy-Id: 9096
54 lines
1.6 KiB
HTML
54 lines
1.6 KiB
HTML
{% load ietf_filters %}
|
|
|
|
<tr>
|
|
<td>
|
|
{% comment %}
|
|
<a name="{{ session.group.acronym }}"></a>
|
|
<a name="wg-{{ session.group.acronym }}"></a>
|
|
<a name="session.group-{{ session.group.acronym }}"></a>
|
|
{% endcomment %}
|
|
{% if session.name %}
|
|
{{ session.name }}
|
|
{% else %}
|
|
{{session.group.acronym}}
|
|
{% if session.group.state.slug == "bof" %}
|
|
<span class="label label-success">{{ session.group.state.slug|upper }}</span>
|
|
{% endif %}
|
|
{% endif %}
|
|
</td>
|
|
|
|
{% if session.status_id == 'canceled' %}
|
|
<td colspan="3"><span class="label label-danger">Session cancelled</span></td>
|
|
{% else %}
|
|
<td>
|
|
{% if session.agenda %}
|
|
<a href="//www.ietf.org/proceedings/{{meeting_num}}/agenda/{{ session.agenda }}">Agenda</a>
|
|
{% else %}
|
|
{% if show_agenda == "True" %}
|
|
<span class="label label-warning">No agenda</span>
|
|
{% endif %}
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
{% if session.minutes %}
|
|
<a href="//www.ietf.org/proceedings/{{ meeting_num }}/minutes/{{ session.minutes }}">Minutes</a>
|
|
{% else %}
|
|
{% if show_agenda == "True" %}
|
|
<span class="label label-warning">No minutes</span>
|
|
{% endif %}
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
{% with session.slides as slides %}
|
|
{% for slide in slides %}
|
|
<a href="//www.ietf.org/proceedings/{{meeting_num}}/slides/{{ slide.external_url }}">{{ slide.title|clean_whitespace }}</a>
|
|
<br>
|
|
{% empty %}
|
|
<span class="label label-warning">No slides</span>
|
|
{% endfor %}
|
|
{% endwith %}
|
|
</td>
|
|
{% endif %}
|
|
</tr>
|
|
|