1 {% extends
"base.html" %}
10 {% block mainmenu %}{{
"/toplist/"|main_menu }}{% endblock %}
11 {% block sectionmenu %}{{
"/toplist/"|section_menu }}{% endblock %}
13 {% block title %}{% trans
"Toplist" %}{% endblock %}
16 <h1>{% trans
"Toplist" %}
</h1>
19 {% if languages|length_is:
"0" %}
20 {% blocktrans with entries|length as count %}These are the {{ count }} most subscribed podcasts of all languages. You can chose to show only selected languages
<a href=
"#languages">below
</a>.{% endblocktrans %}
22 {% blocktrans with entries|length as count and all_languages|lookup_list:languages|join:
", " as lang %}The are the {{ count }} most subscribed podcasts for the languages {{ lang }}. You can select the included languages
<a href=
"#languages">below
</a>.{% endblocktrans %}
31 <th>{% trans
"Podcast" %}
</th>
32 <th>{% trans
"Subscribers" %}
</th>
34 {% for entry in entries %}
36 <td class=
"numeric">{{ forloop.counter }}
</td>
37 <td class=
"oldposition">
38 {% if languages|length_is:
"0" %}
39 {% if entry.oldplace %}
40 {% if entry.oldplace|subtract:forloop.counter %}
41 {{ entry.oldplace|subtract:forloop.counter|format_diff }}
44 <img src=
"/media/charts-new.png" alt=
"new">
48 <td>{{ entry.podcast|podcast_logo }}
</td>
49 <td><a href=
"/podcast/{{ entry.podcast.id }}">{{ entry.podcast|striptags }}
</a></td>
50 <td>{{ entry.subscriptions|vertical_bar:max_subscribers }}
</td>
55 <h3><a name=
"languages"></a>{% trans
"Languages" %}
</h3>
56 {% if languages|length_is:
"0" %}
57 <p>Currently showing all languages. Show a specific one:
58 <form action=
"/toplist/?lang={{ languages|join:",
" }}" method=
"post">
61 {% for key, name in all_languages.iteritems %}
62 <option value=
"{{ key }}">{{ name }}
</option>
65 <input type=
"submit" value=
"{% trans "Show
" %}" />
71 {% for lang in languages %}
73 <a href=
"/toplist/?lang={{ languages|join:",
"|cut:lang }}">{{ all_languages|lookup:lang }}
</a>
77 <form action=
"/toplist/?lang={{ languages|join:",
" }}" method=
"post">
80 {% for key, name in all_languages.iteritems %}
81 {% if not key in languages %}
82 <option value=
"{{ key }}">{{ name }}
</option>
86 <input type=
"submit" value=
"{% trans "Add
" %}" />
88 {% blocktrans %}or show
<a href=
"/toplist?lang=">all languages
</a>.{% endblocktrans %}
92 <div class=
"info"><strong>Get the toplist from your Client
</strong>! Access
<a href=
"/toplist/30.opml">http://{{ url }}/toplist/
30.opml
</a> for the Top-
30.
</div>