remove gevent monkey-patch from feed-downloader
[mygpo.git] / mygpo / directory / templates / episode_toplist.html
blobef8e7bfc7ad5fc6ff17641f930d0e3dd207d6ba5
1 {% extends "base.html" %}
2 {% load i18n %}
3 {% load podcasts %}
4 {% load episodes %}
5 {% load charts %}
6 {% load utils %}
8 {% load menu %}
9 {% block mainmenu %}{{ "/toplist/episodes"|main_menu }}{% endblock %}
10 {% block sectionmenu %}{{ "/toplist/episodes"|section_menu }}{% endblock %}
12 {% block title %}{% trans "Episode-Toplist" %}{% endblock %}
14 {% block header %}
15 <h1>{% trans "Episode-Toplist" %}</h1>
16 {% endblock %}
18 {% block content %}
20 <table class="list episode_list">
21 <tr>
22 <th></th>
23 <th></th>
24 <th>{% trans "Episode" %}</th>
25 <th>{% trans "Listeners" %}</th>
26 </tr>
27 {% for entry in entries %}
28 <tr>
29 <td class="numeric toplist-pos">
30 {% ifchanged entry.listeners %}
31 {{ forloop.counter }}
32 {% endifchanged %}
33 </td>
34 <td>{{ entry.podcast|podcast_logo }}</td>
35 <td>{% episode_link entry entry.podcast %}<br/>
36 <span class="from_podcast">{% trans "from" %} {% podcast_group_link entry.podcast %}</td>
37 <td>{% vertical_bar entry.listeners max_listeners %}</td>
38 {% empty %}
39 <tr>
40 <td colspan="4">
41 {% trans "Currently not available" %}
42 </td>
43 </tr>
44 {% endfor %}
45 </table>
47 {% endblock %}
50 {% block sidebar %}
52 <div class="well">
53 <h4>{% trans "Language" %}</h4>
54 <form class="form-inline" action="{% url "episode-toplist" %}" method="get">
55 <select class="input-medium" name="lang">
56 {% if language == "" %}
57 <option selected="selected" value="">{% trans "all" %}</option>
58 {% else %}
59 <option value="">{% trans "all" %}</option>
60 {% endif %}
62 {% for key, name in all_languages.iteritems %}
63 {% if language == key %}
64 <option selected="selected" value="{{ key }}">{{ name }}</option>
65 {% else %}
66 <option value="{{ key }}">{{ name }}</option>
67 {% endif %}
68 {% endfor %}
69 </select>
70 <input class="btn btn-primary" type="submit" value="{% trans "OK" %}" />
71 </form>
73 </div>
75 {% endblock %}