34 lines
1.5 KiB
HTML
34 lines
1.5 KiB
HTML
<table class="table table-condensed table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th class="col-md-2"></th>
|
|
<th class="col-md-2"></th>
|
|
<th class="col-md-1"></th>
|
|
<th class="col-md-1"></th>
|
|
<th class="col-md-6"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for s in sessions %}
|
|
<tr>
|
|
<td>{% ifchanged s.meeting %}{% if s.meeting.type.slug == 'ietf' %}IETF{% endif %}{{s.meeting.number}}{% endifchanged %}</td>
|
|
<td>
|
|
{% if s.status.slug == "sched" %}
|
|
{% if s.meeting.type.slug == 'ietf' %}{{s.time|date:"D M d, Y Hi"}}{% else %}{{s.time|date:"D M d, Y"}}{% endif %}
|
|
{% else %}
|
|
{{s.status}}
|
|
{% endif %}
|
|
{% if show_request and s.meeting.type.slug == 'ietf' %}
|
|
{% if can_edit %}
|
|
<br>
|
|
<a class="btn btn-default btn-xs" href="{% url 'sessions_view' num=s.meeting.number acronym=s.group.acronym %}">Edit Session Request</a>
|
|
{% endif %}
|
|
{% endif %}
|
|
</td>
|
|
<td>{% if s.minutes %}<a class="btn btn-default btn-xs" href="{{ s.minutes.get_absolute_url }}">Minutes</a>{% endif %}</td>
|
|
<td>{% if s.agenda %}<a class="btn btn-default btn-xs" href="{{ s.agenda.get_absolute_url }}">Agenda</a>{% endif %}</td>
|
|
<td><a class="btn btn-default btn-xs" href="{% url 'ietf.meeting.views.session_details' num=s.meeting.number acronym=s.group.acronym %}">Materials</a></td>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|