get Flattr / licensed podcasts from PostgreSQL
[mygpo.git] / mygpo / directory / templates / directory / licenses.html
blob03542c1d7ab72668a7e0a26f42668f761de628d9
1 {% extends "base.html" %}
3 {% load i18n %}
4 {% load podcasts %}
5 {% load charts %}
6 {% load math %}
7 {% load utils %}
9 {% load menu %}
10 {% block mainmenu %}{{ "/directory/+license"|main_menu }}{% endblock %}
11 {% block sectionmenu %}{{ "/directory/+license"|section_menu }}{% endblock %}
13 {% block title %}{% trans "Podcasts with License Information" %}{% endblock %}
15 {% block header %}
16 <h1>{% trans "Podcasts with License Information" %}</h1>
17 {% endblock %}
19 {% block content %}
21 <table class="list">
22 <tr>
23 <th>{% trans "License" %}</th>
24 <th class="numeric">{% trans "Podcasts" %}</th>
25 </tr>
26 {% for license, count in view.licenses %}
27 <tr>
28 <td>
29 <a href="{% url "license-podcasts-url" license %}">
30 {{ license|license_name }}
31 </a>
32 <a href="{{ license }}">
33 <i class="icon-external-link"></i>
34 </a>
35 </td>
36 <td class="numeric">{{ count }}</td>
37 </tr>
38 {% endfor %}
39 </table>
41 {% endblock %}