PonyConf/planning/templates/planning/room_detail.html

38 lines
1.1 KiB
HTML
Raw Normal View History

2016-11-12 12:56:21 +00:00
{% extends 'staff.html' %}
2016-10-11 19:43:31 +00:00
{% load i18n %}
2016-11-12 12:56:21 +00:00
{% block roomstab %} class="active"{% endblock %}
2016-10-11 19:43:31 +00:00
{% block content %}
2016-10-21 21:31:42 +00:00
<h1>{{ room.name }}
<small>{{ room.label }}</small>
2017-05-26 11:20:25 +00:00
<span class="glyphicon glyphicon-volume-{% if room.sound %}up{% else %}off{% endif %}"></span>
2016-10-21 21:31:42 +00:00
</h1>
2016-10-11 19:43:31 +00:00
2016-10-21 21:31:42 +00:00
<h2>{% trans "Scheduled talks" %}</h2>
{% for talk in room.talks_by_date %}
2016-10-21 21:53:38 +00:00
{% if forloop.first %}<ul>{% endif %}
2016-10-21 21:31:42 +00:00
<li>
<a href="{% url 'show-talk' talk.slug %}"><strong>{{ talk }}</strong></a> &ndash; <em>{{ talk.get_speakers_str }}</em><br />
<span>{{ talk.start_date }} &ndash; {% if talk.end_date %}{{ talk.end_date|date:"H:i" }}{% else %}?{% endif %}</span>
</li>
2016-10-11 19:43:31 +00:00
{% if forloop.last %}</ul>{% endif %}
{% empty %}
<em>{% trans "No talks." %}</em>
{% endfor %}
2016-10-21 21:31:42 +00:00
<h3>{% trans "Unscheduled talks" %}</h3>
2016-10-11 19:43:31 +00:00
{% for talk in room.unscheduled_talks %}
{% if forloop.first %}<ul>{% endif %}
2016-10-21 21:55:10 +00:00
<li>
<a href="{% url 'show-talk' talk.slug %}"><strong>{{ talk }}</strong></a> &ndash; <em>{{ talk.get_speakers_str }}</em>
</li>
2016-10-11 19:43:31 +00:00
{% if forloop.last %}</ul>{% endif %}
{% empty %}
<em>{% trans "No talks." %}</em>
{% endfor %}
{% endblock %}