Commit 79347811 authored by fred's avatar fred

remove backup file

parent 90d22620
{% extends "emissions/emission_detail.html" %}
{% load paniktags %}
{% block nav %}
{% emission_nav klass "episodes" %}
{% endblock %}
{% block main %}
<form method="get" action="." class="padded center" id="search-form">
<div class="big ">
<label for="id_q">Rechercher:</label>
<input id="id_q" name="q" type="text" {% if search_query %}value="{{ search_query }}{% endif %}">
<button class="icon-search"></button>
</div>
</form>
<div class="wrapper {% if episodes %}sided{% endif %}">
{% if search_query and not episodes %}
<div class="big error padded center">Sorry, no result with your query!</div>
{% endif %}
<div id="Emission-container" class="emission padded">
{% if episodes %}
{% with episodes as episodes %}
{% regroup episodes by first_diffusion|date:"F Y"|capfirst as month_list %}
<div>
{% for month in month_list %}
<div class="monthGroup {% if forloop.counter|divisibleby:2 %}even{% else %}odd{% endif %}">
<div
class="legend button"
onclick="$('#{{ month.grouper|slugify }}').toggle();"
>{{ month.grouper }}</div>
<ul class="custom list" id="{{ month.grouper|slugify }}"
{% if forloop.counter >= 3 %}style="display:none;"{% endif %}
>
{% for episode in month.list %}
<li>{% episode_resume model="inline" date="daytime" %}</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</div>
{% endwith %}
{% endif %}
</div>
</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