apply new navigation to publisher pages
[mygpo.git] / mygpo / publisher / templates / publisher / home.html
blob02c71f43c78a76ae039d974916943a6c87f2b3d8
1 {% extends "base.html" %}
2 {% load i18n %}
3 {% load podcasts %}
5 {% load menu %}
6 {% block mainmenu %}{{ "/publisher/"|main_menu }}{% endblock %}
7 {% block sectionmenu %}{{ "/publisher/"|section_menu }}{% endblock %}
9 {% block title %}{% trans "Podcasts Published by You" %}{% endblock %}
11 {% block content %}
12 <h1>{% trans "Podcasts Published by You" %}</h1>
14 {% if not podcasts|length_is:"0" %}
15 <table class="list">
16 <tr>
17 <th>&nbsp;</th>
18 <th>{% trans "Podcast" %}</th>
19 </tr>
21 {% for s in podcasts %}
22 <tr>
23 <td>{{ s|podcast_logo }}</td>
24 <td><a class="listlink" href="/publisher/podcast/{{ s.id }}">{{ s|striptags }}</a></td>
25 </tr>
26 {% endfor %}
27 </table>
28 {% endif %}
30 {% if user.is_staff %}
31 <form action="/publisher/podcast/search" method="post">
32 {{ form.as_p }}
33 <input type="submit" value="{% trans "Go" %}" />
34 </form>
35 {% endif %}
37 {% endblock %}