1 {% extends
"base.html" %}
16 {% block mainmenu %}{{
"/podcast/"|main_menu }}{% endblock %}
17 {% block sectionmenu %}
18 {% if podcast.title %}
19 {{
"/podcast/"|section_menu:podcast.title }}
21 {{
"/podcast/"|section_menu:
"Unnamed Podcast" }}
26 {% if episode.url|is_youtube_video %}
27 <script type=
"text/javascript" src=
"{% static "js/swfobject.js
" %}"></script>
28 <script type=
"text/javascript" src=
"{% static "js/json2.js
" %}"></script>
29 <script type=
"text/javascript" src=
"{% static "js/youtube-handler.js
" %}"></script>
35 {{ episode.title|default:
"Unnamed Episode"|striptags }} -
36 {{ podcast.title|default:
"Unnamed Podcast"|striptags}}
41 {% if podcast.logo_url %}
42 <div id=
"podcastlogo"><a href=
"{% podcast_link_target podcast %}">{{ podcast|podcast_logo_big }}
</a></div>
45 {{ episode.title|default:
"Unnamed Episode"|striptags }}
46 {% if episode.released %}
47 <small>{{ episode.released|naturalday }}
</small>
50 <small class=
"description">
51 {% trans
"from" %} {% podcast_group_link podcast %}
·
52 {% if not episode.outdated or
"hide-outdated-urls" not in podcast.restrictions %}
53 <a href=
"{{episode.url}}" title=
"{% trans "Download
" %}">
54 <i class=
"icon-download"></i>
57 {% if episode.link and episode.link != episode.url %}
·
58 <a href=
"{{episode.link}}" title=
"{% trans "Website
" %}">
59 <i class=
"icon-external-link"></i>
62 {% if episode.listeners %}
·
63 {{ episode.listeners }} {% trans
"listeners" %}
68 {% if episode.summary or episode.description %}
70 {{ episode.summary|default:episode.description|truncatewords:
100|markdown }}
82 <div class=
"btn-toolbar">
85 <a class=
"btn btn-default" href=
"{% episode_link_target episode podcast "episode-publisher-detail
" %}"><i class=
"icon-wrench"></i> {% trans
"Publisher Pages" %}
</a>
88 {% if user.is_authenticated %}
90 <a class=
"btn btn-default" href=
"{% episode_link_target episode podcast "episode-fav
" %}">
91 <i class=
"icon-star"></i> {% trans
"Remove Favorite" %}
94 <a class=
"btn btn-default" href=
"{% episode_link_target episode podcast "episode-fav
" %}">
95 <i class=
"icon-star-empty"></i> {% trans
"Favorite" %}
101 <a class=
"btn btn-default" href=
"{% episode_link_target episode podcast "episode-history
" %}">
102 <i class=
"icon-calendar"></i>
103 {% trans
"Episode History" %}
108 <a class=
"btn btn-default" href=
"{% episode_link_target episode podcast "flattr-episode
" %}">
109 <img src=
"https://flattr.com/_img/icons/flattr_logo_16.png"
110 alt=
"Flattr {{ episode.title|default:"Unnamed Episode
"|striptags }}" />
116 <a class=
"btn btn-default" href=
"{% edit_link episode %}">
117 <i class=
"icon-cogs"></i>Admin
126 {% if episode.content or episode.description %}
127 <div class=
"description" {% if episode.language or podcast.language %}
lang=
"{% firstof episode.language podcast.language %}"{% endif %}
>
128 {% if episode.content %}
129 {{ episode.content|markdown }}
131 {{ episode.description|markdown }}
136 {% if episode.url|is_youtube_video %}
137 <div id=
"ytapiplayer">
138 You need Flash player
8+ and JavaScript enabled to view this video.
143 {% if episode.url|is_flickr_photo %}
144 {{ episode|embed_flickr_photo }}
147 {% if episode|is_image %}
148 <img src=
"{{ episode.url }}" />
151 {% if user.is_authenticated %}
153 {% if played_parts %}
154 <h3>Already played
</h3>
155 {{ played_parts|episode_heatmap_visualization }}
160 <ul class=
"pagination">
163 {% episode_link prev podcast %}
167 <a href=
"{% podcast_link_target podcast %}#episodes">{% trans
"..." %}
</a>
171 {% episode_link next podcast %}
179 {% block javascript %}
180 <script type=
"text/javascript">
182 {% if episode
.url
|is_youtube_video
%}
183 {% embed_youtube_video podcast episode user
%}
187 {% endblock javascript %}
191 {% comment %}disable ads on episode pages{% endcomment %}