1 {% extends
"base.html" %}
15 {% block mainmenu %}{{
"/podcast/"|main_menu }}{% endblock %}
16 {% block sectionmenu %}
17 {% if podcast.title %}
18 {{
"/podcast/"|section_menu:podcast.title }}
20 {{
"/podcast/"|section_menu:
"Unnamed Podcast" }}
25 {% if episode.url|is_youtube_video %}
26 <script type=
"text/javascript" src=
"/media/js/swfobject.js"></script>
27 <script type=
"text/javascript" src=
"/media/js/json2.js"></script>
28 <script type=
"text/javascript" src=
"/media/js/youtube-handler.js"></script>
34 {{ episode.title|default:
"Unnamed Episode"|striptags }} -
35 {{ podcast.title|default:
"Unnamed Podcast"|striptags}}
40 {% if podcast.logo_url %}
41 <div id=
"podcastlogo"><a href=
"{% podcast_link_target podcast %}">{{ podcast|podcast_logo_big }}
</a></div>
44 {{ episode.title|default:
"Unnamed Episode"|striptags }}
45 {% if episode.released %}
46 <small>{% trans
"History" %}
</small>
49 <small class=
"description">
50 {% trans
"from" %} {% podcast_group_link podcast %}
·
51 {% if not episode.outdated or
"hide-outdated-urls" not in podcast.restrictions %}
52 <a href=
"{{episode.url}}" title=
"{% trans "Download
" %}">
53 <i class=
"icon-download"></i>
56 {% if episode.link and episode.link != episode.url %}
·
57 <a href=
"{{episode.link}}" title=
"{% trans "Website
" %}">
58 <i class=
"icon-external-link"></i>
61 {% if episode.listeners %}
·
62 {{ episode.listeners }} {% trans
"listeners" %}
67 {% if episode.summary or episode.description %}
69 {{ episode.summary|default:episode.description|truncatewords:
100|markdown }}
79 {% if user.is_authenticated or history %}
80 <h4>{% trans
"History" %}
</h4>
83 <th>{% trans
"Time" %}
</th>
84 <th>{% trans
"Action" %}
</th>
85 <th>{% trans
"Device" %}
</th>
89 {% for s in history %}
91 <td><abbr title=
"{{ s.timestamp }}">{{ s.timestamp|naturalday }}
</abbr></td>
92 <td style=
"text-align: center;">{{ s|episode_status_icon }}
</td>
95 <a href=
"{% url "device
" s.client.uid %}">{{ s.client|device_icon }} {{ s.client.name|striptags }}
</a>
98 <td>{% if s.started or s.playmark %}{{s.started|format_time }} - {% endif %}
99 {% if s.playmark %}{{ s.playmark|format_time }}{% endif %}
104 {% if user.is_authenticated %}
106 <form action=
"{% episode_link_target episode podcast "add-episode-action
" %}" method=
"POST">
109 <input class=
"input" type=
"text" id=
"timestamp" name=
"timestamp" placeholder=
"empty = now" /></td>
111 <select class=
"input" name=
"action">
112 {% for action, str in actions %}
113 <option value=
"{{ action }}">{{ str }}
</option>
118 <select class=
"input" name=
"device">
119 <option value=
""></option>
120 {% for client in clients %}
121 <option value=
"{{ client.id.hex }}">{{ client.name }}
</option>
126 <input class=
"btn" type=
"submit" value=
"{% trans "Add
" %}" />
137 {% comment %}disable ads on episode pages{% endcomment %}