]> git.0d.be Git - panikweb.git/blob - panikweb_templates/templates/emissions/detail.html
misc: run manage.py with python3
[panikweb.git] / panikweb_templates / templates / emissions / detail.html
1 {% load i18n paniktags %}
2 <div class="emission emission-detail cf">
3         <article class="text userContent">
4         {% if schedules or emission.subtitle %}
5         <div class="metas marged">
6                 {% if schedules %}
7                         <ul class="schedule custom">
8                                 {% for schedule in schedules %}
9                                 <li>
10                                         <span class="label">{{ schedule.datetime|date:"l G:i" }}</span>
11                                         {% if schedule.weeks_string %}
12                                         <span class="weekdiff">({{ schedule.weeks_string }})</span>
13                                         {% endif %}
14                                         {% if schedule.rerun %} <span class="smooth">(rediff)</span> {% endif %}
15                                 </li>
16                                 {% endfor %}
17                         </ul>
18                 {% endif %}
19                 {% if emission.subtitle %}
20                 <h4 class="subtitle">{{ emission.subtitle }}</h4>
21                 {% endif %}
22         </div>
23         {% endif %}
24         {% if emission.image %}
25                 <div class="emission-logo"><img class="logo" src="{{ emission.image.url }}"/></div>
26         {% endif %}
27
28         {% if emission.text %}
29                 {{ emission.text|safe}}
30         {% endif %}
31         </article>
32         {% if emission.email or emission.website %}
33         <div class="contacts box">
34                 {% if emission.email %}
35                         <div class="email ellipsis">
36                                 <span class="icon-envelope"></span>
37                                 <span>{{ emission.email|strreplace:"@, (AT) "|strreplace:"., (DOT) "}}</span>
38                         </div>
39                 {% endif %}
40                 {% if emission.website %}
41                         <div class="contact ellipsis">
42                                 <span class="icon-globe"></span>
43                                 <a href="{{ emission.website}}">{{ emission.website}}</a>
44                         </div>
45                 {% endif %}
46         </div>
47         {% endif %}
48 </div>
49