1 {% extends
"base.html" %}
2 {% load url from future %}
7 {% block mainmenu %}{{
"/publisher/"|main_menu }}{% endblock %}
8 {% block sectionmenu %}{{
"/publisher/"|section_menu }}{% endblock %}
10 {% block title %}{% trans
"Podcasts Published by Me" %}{% endblock %}
13 <h1>{% trans
"Podcasts Published by Me" %}
</h1>
19 {% if not podcasts|length_is:
"0" %}
22 {% for s in podcasts %}
24 <td>{{ s|podcast_logo }}
</td>
25 <td><a class=
"listlink" href=
"{% podcast_link_target s "podcast-publisher-detail
" %}">{{ s.display_title|striptags }}
</a></td>
31 <h2>{% trans
"Update your podcasts" %}
</h2>
32 <p>{% trans
"To update all of your published podcasts automatically, you can request the following URL" %}
</p>
33 <pre><a href=
"{% url publisher-update user.username %}?token={{ update_token }}">http://{{ site }}{% url publisher-update user.username %}?token={{ update_token }}
</a></pre>
34 <form action=
"{% url publisher-new-update-token user.username %}" method=
"post">
36 <button type=
"submit" class=
"btn">{% trans
"Create a new token" %}
</button>
39 {% if user.is_staff %}
42 <p>{% trans
"Go to the publisher page of any podcast by entering its feed URL" %}
</p>
43 <form class=
"form-inline" action=
"{% url "podcast-publisher-search
" %}" method=
"post">
45 <div class=
"input-prepend input-append">
46 <span class=
"add-on"><i class=
"icon-link"></i></span><input type=
"text" class=
"input-xlarge" name=
"url" id=
"id_url" />
47 <button class=
"btn" type=
"submit">{% trans
"Go" %}
</button>