1 {% extends
"base.html" %}
2 {% load url from future %}
9 {% block mainmenu %}{{
"/podcast/"|main_menu }}{% endblock %}
10 {% block sectionmenu %}
11 {% if podcast.title %}
12 {{
"/podcast/"|section_menu:podcast.title }}
14 {{
"/podcast/"|section_menu:
"Unnamed Podcast" }}
18 {% block title %}{% blocktrans with podcast.title|default:
"Unnamed Podcast"|striptags as podcasttitle %}Subscribe to {{ podcasttitle }}{% endblocktrans %}{% endblock %}
21 {% if podcast.logo_url %}
22 <div id=
"podcastlogo"><a href=
"{% podcast_link_target podcast %}">{{ podcast|podcast_logo_big }}
</a></div>
25 {% if podcast.title %}
26 {% blocktrans with podcast.title|striptags as podcasttitle %}Subscribe to {{podcasttitle }}{% endblocktrans %}
28 {% trans
"Subscribe to this podcast" %}
31 <a href=
"{{ podcast.url }}" class=
"URL">{{ podcast.url }}
</a>
33 {% if podcast.description %}
34 <p class=
"description">{{ podcast.description|striptags }}
</p>
41 <h2>{% trans
"Subscribe on devices" %}
</h2>
42 {% if targets|length %}
43 <form action=
"{% podcast_link_target podcast "subscribe
" %}" method=
"post" class=
"form-horizontal">
46 <div class=
"control-group">
47 <div class=
"controls">
48 {% for target in targets %}
49 <label class=
"checkbox">
50 <input type=
"checkbox" value=
"{{ target|target_uid }}" name=
"{{ target|target_uid }}" checked=
"checked">
51 {% if target|is_list %}
53 <a href=
"{% url "device
" t.uid %}">{{ t|device_icon }}{{ t.name|striptags }}
</a>
56 <a href=
"{% url "device
" target.uid %}">{{ target|device_icon }}{{ target.name|striptags }}
</a>
63 <div class=
"control-group">
64 <div class=
"controls">
65 <input type=
"submit" value=
"Subscribe" />
70 <p>{% trans
"You can't subscribe to this podcast, because you don't have any devices (on which you don't have subscribed to the podcast already." %}
</p>
71 <a class=
"btn btn-success" href=
"{% url "device-edit-new
" %}">
72 <i class=
"icon-plus"></i> {% trans
"Create Device" %}
77 {% if not podcast.title %}
78 <div class=
"info"><strong>{% trans
"Why Unnamed Podcast?" %}
</strong> {% trans
"Because we display names after we have fetched the information form the feed -- and this may take some time. Until this is completed, the podcast will simply be called this way." %}
</div>