new fields: gallery, time/place for events
[django-migdal.git] / migdal / templates / migdal / entry / event / entry_begin.html
1 {% load i18n %}
2 {% load thumbnail %}
3
4 {% if detail %}
5     <h1>{{ object.title }}</h1>
6 {% else %}
7     <h2><a href="{{ object.get_absolute_url }}">{{ object.title }}</a></h2>
8 {% endif %}
9
10
11 {% if object.image %}
12     <a href="{{ object.image.url }}">
13     <img class="entry-picture" src="{% thumbnail object.image "250x300" as thumb %}
14                     {{ thumb.url }}
15                 {% empty %}
16                     {{ object.image.url }}
17                 {% endthumbnail %}" />
18     </a>
19 {% endif %}
20 <div class="lead">
21 {{ object.lead }}
22 </div>
23 {% if object.place %}
24   {{ object.place }}
25 {% endif %}
26 {% if object.time %}
27   {{ object.time }}
28 {% endif %}