1 {% extends
"base.html" %}
8 {% block mainmenu %}{{
"/device/"|main_menu }}{% endblock %}
9 {% block sectionmenu %}{{
"/device/"|section_menu:device.name }}{% endblock %}
11 {% block title %}{% blocktrans with device.name|striptags as devicename %}Device {{ devicename }}{% endblocktrans %}{% endblock %}
14 <h1>{{ device.name|striptags }}
</h1>
18 {% if device.deleted %}
<div class=
"alert alert-info">{% trans
"This device was deleted." %}
</div>{% endif %}
19 <h2>{% trans
"Subscriptions" %}
</h2>
21 {% if subscriptions %}
23 {% for podcast in subscriptions %}
25 <td class=
"logo">{{ podcast|podcast_logo }}
</td>
26 <td>{% podcast_group_link podcast %}
</td>
28 <form class=
"form-inline" method=
"post" action=
"{% podcast_link_target podcast "unsubscribe
" device.uid %}?return_to=/device/{{ device.uid }}" >
30 <button class=
"btn btn-danger btn-sm" type=
"submit">
31 <i class=
"icon-remove"></i> {% trans
"Unsubscribe" %}
40 {% trans
"You don't have any podcasts subscribed on this device." %}
46 <div class=
"btn-group">
48 {% if subscriptions %}
50 <div class=
"btn-group">
51 <a href=
"{% url "device-opml
" device.uid %}" type=
"button" class=
"btn btn-default">
52 <i class=
"icon-download"></i>
53 {% trans
"Download OPML" %}
55 <button type=
"button" class=
"btn btn-default dropdown-toggle" data-toggle=
"dropdown">
56 <span class=
"caret"></span>
57 <span class=
"sr-only">Toggle Dropdown
</span>
59 <ul class=
"dropdown-menu" role=
"menu">
61 <a href=
"{% url "device-symbian-opml
" device.uid %}">
62 <i class=
"icon-download"></i>
63 {% trans
"OPML for Nokia Podcasting on Symbian " %}
71 <a class=
"btn btn-default" href=
"{% url "device-history
" device.uid %}">
72 <i class=
"icon-calendar"></i>
76 {% if device.sync_group %}
77 <a href=
"{% url "trigger-sync
" device.uid %}" class=
"btn btn-default">
78 <i class=
"icon-refresh"></i>
79 {% trans
"Trigger Sync" %}
83 {% if not device.deleted %}
85 <a class=
"btn btn-default" href=
"{% url "device-edit
" device.uid %}">
86 <i class=
"icon-edit"></i>
87 {% trans
"Configure" %}
98 {% if not device.deleted %}
102 <h4>{% trans
"Synchronize" %}
</h4>
103 <p>{% blocktrans %}If you synchronize devices, they will always have the same subscriptions. A podcast that is subscribed on one device, will automatically be added to all synchronized devices.{% endblocktrans %}
</p>
105 {% if synced_with|length_is:
"0" %}
107 <p>{% blocktrans with device.name|striptags as devicename %}{{ devicename }} is currently not synchronized with other devices.{% endblocktrans %}
</p>
111 <p>{% blocktrans with device.name|striptags as devicename and synced_with|device_list as synclist %}{{ devicename }} is currently synchronized with {{ synclist }}.{% endblocktrans %}
</p>
112 <a href=
"{% url "device-unsync
" device.uid %}">{% blocktrans with device.name|striptags as devicename %}Stop synchronisation for {{ devicename }} {% endblocktrans %}
</a>
116 {% if has_sync_targets %}
117 <form action=
"{% url "device-sync
" device.uid %}" method=
"POST">
120 <button class=
"btn btn-default" type=
"submit">{% trans
"Synchronize" %}
</button>