]> git.0d.be Git - panikweb.git/blobdiff - panikweb/templates/emissions/detail.html
move static & templates to panikweb project directory
[panikweb.git] / panikweb / templates / emissions / detail.html
diff --git a/panikweb/templates/emissions/detail.html b/panikweb/templates/emissions/detail.html
new file mode 100644 (file)
index 0000000..36e037c
--- /dev/null
@@ -0,0 +1,49 @@
+{% load i18n paniktags %}
+<div class="emission emission-detail cf">
+       <article class="text userContent">
+       {% if schedules or emission.subtitle %}
+       <div class="metas marged">
+               {% if schedules %}
+                       <ul class="schedule custom">
+                               {% for schedule in schedules %}
+                               <li>
+                                       <span class="label">{{ schedule.datetime|date:"l G:i" }}</span>
+                                       {% if schedule.weeks_string %}
+                                       <span class="weekdiff">({{ schedule.weeks_string }})</span>
+                                       {% endif %}
+                                       {% if schedule.rerun %} <span class="smooth">(rediff)</span> {% endif %}
+                               </li>
+                               {% endfor %}
+                       </ul>
+               {% endif %}
+               {% if emission.subtitle %}
+               <h4 class="subtitle">{{ emission.subtitle }}</h4>
+               {% endif %}
+       </div>
+       {% endif %}
+       {% if emission.image %}
+               <div class="emission-logo"><img class="logo" src="{{ emission.image.url }}"/></div>
+       {% endif %}
+
+       {% if emission.text %}
+               {{ emission.text|safe}}
+       {% endif %}
+       </article>
+       {% if emission.email or emission.website %}
+       <div class="contacts box">
+               {% if emission.email %}
+                       <div class="email ellipsis">
+                               <span class="icon-envelope"></span>
+                               <span>{{ emission.email|strreplace:"@, (AT) "|strreplace:"., (DOT) "}}</span>
+                       </div>
+               {% endif %}
+               {% if emission.website %}
+                       <div class="contact ellipsis">
+                               <span class="icon-globe"></span>
+                               <a href="{{ emission.website}}">{{ emission.website}}</a>
+                       </div>
+               {% endif %}
+       </div>
+       {% endif %}
+</div>
+