1 {% extends "base.html"%}
2 {% load paniktags i18n %}
3 {% block title %}{% trans 'News' %}{% endblock %}
5 <h1 class="top"><a class="dimmed" href="{% url 'news' %}">{% trans 'News' %}</a>
6 / <a href="{% url 'agenda' %}">Agenda</a>
14 <div class="detail marged news cf">
15 <div class="wrapper navigation">
17 <h2>{{month|date:"E Y"}}</h2>
19 <p class="intro leftPart">
20 Sur les ondes comme dans la ville, une quantité d'événements Panik et proches…
24 <div class="leftPart">
25 <div id="agenda" class="news">
26 {% regroup agenda|dictsort:'event_date' by event_date as agenda_list %}
27 {% for date in agenda_list %}
28 <h3>{{ date.grouper|date:"l d E"|lower }}</h3>
29 {% for content in date.list %}
34 <div class="big error center">Misère, c'est l'hiver ?!</div>
37 <div class="previous-and-next-months">
39 {% if previous_month %}
40 <a href="{% url 'agenda_by_month' year=previous_month.year month=previous_month.month %}"
41 >< {{previous_month|date:'E Y'}}</a>
43 {% if previous_month and next_month %}—{% endif %}
45 <a href="{% url 'agenda_by_month' year=next_month.year month=next_month.month %}"
46 >{{next_month|date:'E Y'}} ></a>
53 <div class="rightPart">
55 <h5 class="sectionLabel right">
56 <a href="{% url 'newsArchives' %}">
57 <span class="iconLabel">Toutes</span>
60 <h5 class="sectionLabel">
61 <span class="iconLabel">{% trans 'Latest News'%}</span>
62 <a class="button icon-rss inBlock" href="{% url 'rss-feed' %}"></a>
66 <form action="{% url 'newsArchives' %}" id="search-form">
67 <input id="id_q" name="q" type="text" {% if search_query %}value="{{ search_query }}"{% endif %}>
68 <button class="icon-search"><span class="sr-only">{% trans "Search" %}</span></button>
71 <ul class="custom list newsList">
72 {% for content in news|slice:":20" %}
73 <li class="{% if content == newsitem %}current{% endif %}">{% news_inline %}</li>
84 <ul class="news columns padded list custom">
85 {% for NewsItem in newsAll %}
86 <li class="item ellipsis small ">
87 <a href="{% url 'newsitem-view' slug=NewsItem.slug %}">
88 <span class="title"><strong>{{ NewsItem.date|date:"D d/M" }}</strong> - {{ NewsItem.title }}</span>