1 {% extends
"base.html" %}
13 {% block mainmenu %}{{
"/podcast/"|main_menu }}{% endblock %}
14 {% block sectionmenu %}
15 {% if podcast.title %}
16 {{
"/podcast/"|section_menu:podcast.title }}
18 {{
"/podcast/"|section_menu:
"Unnamed Podcast" }}
23 {{ podcast|opengraph_podcast }}
24 {% google_plus_one_head %}
27 {% block title %}{{ podcast.title|default:
"Unnamed Podcast"|striptags }}{% endblock %}
31 {% if podcast.logo_url %}
32 <div id=
"podcastlogo">{{ podcast|podcast_logo_big }}
</div>
36 {% if podcast.title %}
37 {{ podcast.title|striptags }}
39 {% trans
"Unnamed Podcast" %}
43 <small class=
"description">
44 {% if podcast.author %}{% trans
"by" %}
45 {{ podcast.author|striptags }}
47 {% if podcast.twitter %}
48 <a href=
"https://twitter.com/{{ podcast.twitter|striptags }}"><i class=
"icon-twitter"></i></a>
50 <a href=
"{{podcast.url}}" title=
"{% trans "Feed
" %}">
51 <i class=
"icon-rss"></i>
53 {% if podcast.link %}
·
54 <a href=
"{{podcast.link}}" title=
"{% trans "Website
" %}">
55 <i class=
"icon-external-link"></i>
58 {% if podcast.subscriber_count %}
·
59 {{ podcast.subscriber_count }} {% trans
"subscribers" %}
63 {% if related_podcasts %}
64 <div class=
"related-podcasts">
65 <strong>{% trans
"Also available" %}
</strong>
66 {% for p in related_podcasts %}
67 {% if p.group_member_name != podcast.group_member_name %}
68 {% podcast_group_link p p.group_member_name %}
74 {% if podcast.description %}
75 <div class=
"description" {% if podcast.language %}
lang=
"{{ podcast.language }}"{% endif %}
>
76 {{ podcast.description|markdown }}
87 <div class=
"first-episode">
89 <h2>{{ episode.title }}
<small>{{ episode.released|naturalday }}
</small></h2>
90 <div class=
"description" {% if episode.language or podcast.language %}
lang=
"{% firstof episode.language podcast.language %}"{% endif %}
>
91 {{ episode.description|default:
""|truncatewords:
"100"|markdown }}
93 <a href=
"{% episode_link_target episode podcast %}">more...
</a>
100 <h3>{% trans
"Older Episodes" %}
</h3>
101 <table class=
"list episode_list" id=
"episodes">
104 <th>{% trans
"Title" %}
</th>
105 <th>{% trans
"Released" %}
</th>
106 <th>{% trans
"Listeners" %}
</th>
109 {% for episode in episodes %}
111 <td>{{ episode.action|episode_status_icon }}
</td>
113 <div class=
"title">{% episode_link episode podcast %}
</div>
114 <div class=
"description short">{{ episode.subtitle|default:episode.description|default:
""|truncatewords:
"20"|markdown|striptags }}
</div>
116 <td>{{ episode.released|default:
""|date:
"Y-m-d" }}
</td>
118 {% if episode.listeners %}
119 {% vertical_bar episode.listeners max_listeners %}
125 {% if not podcast.episode_count or podcast.episode_count
> 20 %}
129 <a href=
"{% podcast_link_target podcast "podcast-all-episodes
" %}?page=2">{% trans
"All Episodes" %}
</a>
144 {% if is_publisher %}
146 <h4>{% trans
"Publisher Pages" %}
</h4>
148 <a class=
"btn" href=
"{% podcast_link_target podcast "podcast-publisher-detail
" %}"><i class=
"icon-wrench"></i> {% trans
"Go" %}
</a>
153 <h4>{% trans
"Subscriptions" %}
</h4>
154 {% if not user.is_authenticated %}
155 <div class=
"subscribe">
156 <a href=
"{% podcast_link_target podcast "subscribe
" %}">
157 <img src=
"/media/subscribe.png" style=
"vertical-align: middle;" alt=
""/>
158 {% trans
"Subscribe to this podcast" %}
163 {% if devices or can_subscribe %}
165 {% for device in devices %}
169 {{ device|device_icon }}
170 <a href=
"{% url "device
" device.uid %}">{{ device.name|striptags }}
</a>
173 <td style=
"text-align: center;">
174 <form class=
"form-inline" method=
"post" action=
"{% podcast_link_target podcast "unsubscribe
" device.uid %}?return_to={% podcast_link_target podcast %}">
176 <button class=
"btn btn-danger btn-small" type=
"submit">
177 <i class=
"icon-remove"></i>
183 {% if can_subscribe %}
185 <form class=
"form-inline" action=
"{% podcast_link_target podcast "subscribe
" %}" method=
"post">
188 <select name=
"targets" id=
"id_targets">
189 {% for device in subscribe_targets %}
190 <option value=
"{{ device.uid }}">{{ device.name }}
</option>
195 <button class=
"btn btn-success btn-small" type=
"submit">
196 <i class=
"icon-ok"></i>
211 {% for tag in tags %}
214 <span class=
"own">{{ tag.tag }}
<a class=
"remove" href=
"{% podcast_link_target podcast "remove-tag
" %}?tag={{ tag.tag }}">X
</a></span>
216 <span class=
"other">{{ tag.tag }}
</span>
218 {% if not forloop.last %}
219 <span class=
"seperator">,
</span>
224 {% if user.is_authenticated %}
225 <form class=
"form-inline" action=
"{% podcast_link_target podcast "add-tag
" %}">
226 <div class=
"input-prepend btn-append">
227 <span class=
"add-on"><i class=
"icon-tag"></i></span><input class=
"input-small" type=
"text" name=
"tag" /><button class=
"btn btn-success" type=
"submit">
228 <i class=
"icon-plus"></i>
236 <h4>{% trans
"Share" %}
</h4>
238 {% google_plus_one_button %}
239 {{ podcast|fb_like_podcast }}
241 <a href=
"{% podcast_link_target podcast "podcast-flattr
" %}">
242 <img src=
"https://api.flattr.com/button/flattr-badge-large.png"
243 alt=
"Flattr {{ podcast.title|default:"Unnamed Podcast
"|striptags }}" />
252 <h4>{% trans
"Subscription History" %}
</h4>
254 {% for s in history %}
256 <td><abbr title=
"{{ s.timestamp }}">{{ s.timestamp|naturalday }}
</abbr></td>
257 <td>{{ s|podcast_status_icon }}
</td>
260 <a href=
"{% url "device
" s.device.uid %}">{{ s.device|device_icon }} {{ s.device.name|striptags }}
</a>
273 {% comment %}disable ads on podcast pages{% endcomment %}