fix typo
[mygpo.git] / mygpo / web / templates / mytags.html
blobe82116893ff5626c0cc33ffc7a31f970393283de
1 {% extends "base.html" %}
2 {% load i18n %}
3 {% load devices %}
4 {% load episodes %}
5 {% load podcasts %}
7 {% load menu %}
8 {% block mainmenu %}{{ "/subscriptions/"|main_menu }}{% endblock %}
9 {% block sectionmenu %}{{ "/tags/"|section_menu }}{% endblock %}
11 {% block title %}{% trans "My Tags" %}{% endblock %}
13 {% block header %}
14 <h1>{% trans "My Tags" %}</h1>
15 {% endblock %}
18 {% block content %}
20 {% if tags_podcast %}
22 <table class="list">
23 {% for tag, podcast_list in tags_tag.items %}
24 <tr>
25 <td>{{ tag }}</td>
26 <td>
27 {% for podcast in podcast_list %}
28 <a href="{% podcast_link_target podcast %}">{{ podcast|podcast_logo }}</a>
29 {% endfor %}
30 </td>
31 </tr>
32 {% endfor %}
34 </table>
37 {% else %}
39 <p>
40 {% url "subscriptions" as subscriptions-url %}
41 {% blocktrans %}You didn't tag any podcasts yet. Go to your <a href="{{ subscriptions-url }}">subscriptions</a> and tag some.{% endblocktrans %}
42 </p>
44 {% endif %}
46 {% endblock %}