1 {% extends
"podcast-base.html" %}
7 {% block title %}{% blocktrans with podcast.title|default:
"Unnamed Podcast"|striptags as podcasttitle %}Subscribe to {{ podcasttitle }}{% endblocktrans %}{% endblock %}
11 <h2>{% trans
"Subscribe" %}
</h2>
12 {% if targets|length %}
13 <form action=
"{% podcast_link_target podcast "subscribe
" %}" method=
"post" class=
"form-horizontal">
16 <div class=
"control-group">
17 <div class=
"controls">
18 {% for target in targets %}
19 <label class=
"checkbox">
20 <input type=
"checkbox" value=
"{{ target|target_uid }}" name=
"{{ target|target_uid }}" checked=
"checked">
21 {% if target|is_list %}
23 <a href=
"{% url "device
" t.uid %}">{{ t|device_icon }}{{ t.name|striptags }}
</a>
26 <a href=
"{% url "device
" target.uid %}">{{ target|device_icon }}{{ target.name|striptags }}
</a>
33 <div class=
"form-actions">
34 <button class=
"btn" type=
"submit">
35 <i class=
"icon-plus"></i>
36 {% trans
"Subscribe" %}
41 <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>
42 <a class=
"btn btn-success" href=
"{% url "devices
" %}">
43 <i class=
"icon-plus"></i> {% trans
"Create Device" %}
48 {% if not podcast.title %}
49 <div class=
"alert alert-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>