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>{% trans
"History" %}
</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 }}
80 {% if user.is_authenticated or history %}
81 <h4>{% trans
"History" %}
</h4>
84 <th>{% trans
"Time" %}
</th>
85 <th>{% trans
"Action" %}
</th>
86 <th>{% trans
"Device" %}
</th>
90 {% for s in history %}
92 <td><abbr title=
"{{ s.timestamp }}">{{ s.timestamp|naturalday }}
</abbr></td>
93 <td style=
"text-align: center;">{{ s|episode_status_icon }}
</td>
96 <a href=
"{% url "device
" s.client.uid %}">{{ s.client|device_icon }} {{ s.client.name|striptags }}
</a>
99 <td>{% if s.started or s.playmark %}{{s.started|format_time }} - {% endif %}
100 {% if s.playmark %}{{ s.playmark|format_time }}{% endif %}
105 {% if user.is_authenticated %}
107 <form action=
"{% episode_link_target episode podcast "add-episode-action
" %}" method=
"POST">
110 <input class=
"input" type=
"text" id=
"timestamp" name=
"timestamp" placeholder=
"empty = now" /></td>
112 <select class=
"input" name=
"action">
113 {% for action, str in actions %}
114 <option value=
"{{ action }}">{{ str }}
</option>
119 <select class=
"input" name=
"device">
120 <option value=
""></option>
121 {% for client in clients %}
122 <option value=
"{{ client.id.hex }}">{{ client.name }}
</option>
127 <input class=
"btn" type=
"submit" value=
"{% trans "Add
" %}" />
138 {% comment %}disable ads on episode pages{% endcomment %}