datatracker/ietf/templates/meeting/group_materials.html
Ole Laursen a589115ff4 Summary: Reindent all HTML files to follow the previous convention (no
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
2015-02-17 18:01:04 +00:00

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>