16de0001c006ec7ebdb0e08dce69fedbbc41d1ba
[prawokultury.git] / events / templates / events / snippets / events_box.html
1 {% load i18n %}
2 {% load url from future %}
3
4 <ul class="event-list">
5 {% for event in objects %}
6     <li class="event-list-item">
7         <a target="_blank" href="{{ event.link }}">
8             <div class="date">
9                 <div class="day">{{ event.date|date:"j" }}</div>
10                 <div class="mon">{{ event.date|date:"b" }}</div>
11             </div>
12             <div class="description">
13                 {{ event.title }}
14                 ({{ event.organizer }}, {{ event.place }})
15             </div>
16             <div style="clear: both"></div>
17         </a>
18     </li>
19 {% endfor %}
20 </ul>
21 <!--p class="more"><a href="{% url 'events' %}">{% trans "more events" %}</a></p-->