[Requirements] update Django to 1.7
[mygpo.git] / mygpo / share / templates / lists_user.html
blob71c5e961281c608a331eab5726d4c9329100b5e3
1 {% extends "base.html" %}
3 {% load i18n %}
5 {% load menu %}
6 {% block mainmenu %}{{ "/directory/"|main_menu }}{% endblock %}
7 {% block sectionmenu %}{{ "/lists/"|section_menu }}{% endblock %}
9 {% block title %}{% trans "Podcast Lists" %}{% endblock %}
11 {% block header %}
12 <h1>{% blocktrans with user.username as username %}Podcast Lists by {{ username }}{% endblocktrans%}</h1>
13 {% endblock %}
16 {% block content %}
18 <table class="list">
19 {% for list in lists %}
20 <tr>
21 <td><a href="{% url "list-show" user.username list.slug %}">{{ list.title }}</a></td>
22 <td>{% blocktrans with list.podcasts|length as num_podcasts %}{{ num_podcasts }} Podcasts{% endblocktrans %}</td>
23 </tr>
24 {% empty %}
25 <tr>
26 <td colspan="3">
27 {% blocktrans with user.username as username %}{{ username }} hasn't created any podcast lists yet.{% endblocktrans %}
28 </td>
29 </tr>
30 {% endfor %}
31 </table>
32 {% endblock %}
35 {% block sidebar %}
36 <div class="well">
37 <h3>{% trans "Know Some Great Podcasts?" %}</h3>
38 <p>{% trans "Create a list of podcasts about a topic you like" %}</p>
39 <a class="btn btn-primary" href="{% url "lists-overview" %}">Go</a>
40 </div>
41 {% endblock %}