1 {% extends "base.html" %}
2 {% load thumbnails paniktags staticfiles i18n %}
3 {% block bodyID %}Home{% endblock %}
4 {% block title %}{% trans 'Home' %}{% endblock %}
7 <meta property="og:title" content="Radio Panik - 105.4 FM" />
8 <meta property="og:description" content="En vous branchant sur le 105.4 FM, vous pénétrerez plus avant dans l'œil du cyclone…" />
13 <div class="sided wrapper navigation" id="specialHome">
15 <div class="leftPart">
16 <h1 class="top"><a href="{% url 'grid' %}">{% trans 'Program' %}</a></h1>
17 <h2><a href="{% url 'program' %}">{% trans 'This week on Panik' %}</a></h2>
22 <form method="post" action="{% url 'newsletter-subscribe' %}"
23 class="marged" id="subscribe-form">
24 <p>{% trans 'Every Monday, the news of the Panik week:' %}</p>
25 {{ newsletter_form.as_table }}
26 <button>{% trans 'Subscribe' %}</button>
30 <div class="rightPart">
31 <h1 class="top">{% trans 'Focus' %}</h1>
36 <div id="recent-news">
37 <h3 class="sectionLabel right"><a href="{% url 'newsArchives' %}">Toutes</a></h3>
38 <h3 class="sectionLabel"><a href="{% url 'news' %}">{% trans 'Latest News' %}</a> <a class="button icon-rss inBlock" href="{% url 'atom-feed' %}"></a></h3>
39 <ul class="custom list">
40 {% for content in newsitems %}
41 <li class="item">{% news_inline %}</li>
50 <div id="recent-sounds">
51 <h3 class="sectionLabel right"><a href="{% url 'listenArchives' %}">Tous</a></h3>
52 <h3 class="sectionLabel"><a href="{% url 'listen' %}">{% trans 'Latest Sounds' %}</a> <a class="button icon-rss inBlock" href="{% url 'podcasts-feed' %}"></a></h3>
53 <ul class="custom list">
54 {% for soundfile in soundfiles %}
55 <li class="item {% for category in soundfile.episode.emission.categories.all %} {{ category|slugify }}{% endfor %}">
56 {% soundfile_resume soundfile=soundfile date=soundfile.first_diffusion %}
64 <div id="recent-emissions">
65 <h3 class="sectionLabel right"><a href="{% url 'emissions' %}">Toutes</a></h3>
66 <h3 class="sectionLabel">{% trans 'New emissions' %}</h3>
67 <ul class="custom list padded">
68 {% for emission in emissions %}