]> git.0d.be Git - panikweb-esperanzah.git/blob - panikweb/templates/soundfiles/embed.html
settings: declare PROJECT_PATH
[panikweb-esperanzah.git] / panikweb / templates / soundfiles / embed.html
1 {% extends "base.html" %}
2 {% load thumbnail paniktags static %}
3
4 {% block bodyattr %}id="embed"{% endblock %}
5 {% block title %}{{ episode.emission.title }}{% endblock %}
6
7 {% block main %}
8
9 <div class="wrapper extra-soundfiles soundcell">
10         <div class="logo">
11                 {% if episode.image %}
12                         {% thumbnail episode.image "100x100" crop="50% 25%" as im %}
13                         <img width="100" height="100" src="{{im.url}}"/>
14                         {% endthumbnail %}
15                 {% elif episode.emission.image %}
16                         {% thumbnail episode.emission.image "100x100" crop="50% 25%" as im %}
17                         <img width="100" height="100" src="{{im.url}}"/>
18                         {% endthumbnail %}
19                 {% else %}
20                         <img class="smooth"  style="width:100px;" src="{% static "img/emission.png" %}"/>
21                 {% endif %}
22         </div>
23 <ul class="custom">
24 <li>
25   <div class="soundfile-info"><strong>
26      <a target="_parent" href="{{site_url}}">Radio Esperanzah!</a> -
27     <a target="_parent" href="{% url 'emission-view' slug=episode.emission.slug%}">{{ episode.emission.title }}</a> -
28     <a target="_parent" href="{% url 'episode-view' emission_slug=episode.emission.slug slug=episode.slug %}">{{ episode.title }}</a>
29     {% if object.fragment and object.title %}<span class="fragment-title">- {{ object.title }}</span>{% endif %}
30           </strong>
31   </div>
32   {% audio sound=object embed=True %}
33 </li>
34 </ul>
35 </div>
36 {% endblock %}
37