Commit 217a4b61 authored by fred's avatar fred

style emission lists

parent 6183654d
......@@ -9,6 +9,7 @@
{% block content %}
{% for category in object_list %}
<div class="section">
<h3>{{ category.title }}</h3>
<ul class="emission-list">
......@@ -18,6 +19,7 @@
{% endif %}
{% endfor %}
</ul>
</div>
{% endfor %}
......
......@@ -9,6 +9,7 @@
{% block content %}
{% for day in days %}
<div class="section">
<h3>{{ day.datetime|date:"D" }}</h3>
<ul class="emission-list">
......@@ -16,6 +17,7 @@
<li>{{ schedule.datetime|date:"H:i" }} <a href="{{ schedule.emission.slug }}/">{{ schedule.emission.title }}</a></li>
{% endfor %}
</ul>
</div>
{% endfor %}
......
......@@ -9,6 +9,7 @@
{% block content %}
<div class="section">
<ul class="emission-list">
{% for emission in object_list %}
{% if not emission.archived %}
......@@ -16,7 +17,9 @@
{% endif %}
{% endfor %}
</ul>
</div>
<div class="section">
<h3>Anciennes émissions</h3>
<ul class="emission-list">
......@@ -26,9 +29,6 @@
{% endif %}
{% endfor %}
</ul>
{% if perms.emissions.add_emission %}
<a class="big-friendly-button" href="add">Nouvelle émission</a>
{% endif %}
</div>
{% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment