1 {% extends
"base.html" %}
7 {% block mainmenu %}{{
"/admin/"|main_menu }}{% endblock %}
8 {% block sectionmenu %}{{
"/admin/"|section_menu:
"Admin" }}{% endblock %}
10 {% block title %}{% trans
"Admin Area" %}{% endblock %}
13 <h1>{% trans
"Merge Podcasts and Episodes" %}
</h1>
16 {% for podcast in podcasts %}
17 {% podcast_link podcast %}
23 <div class=
"alert alert-info">
24 {% trans
"Episodes that have the same number will be merged. Please verify all your changes by clicking on 'Renew Groups' before starting the Merge." %}
27 <form method=
"post" action=
"{% url "admin-merge-process
" %}">
30 {% for podcast in podcasts %}
31 <input type=
"hidden" name=
"feed{{ forloop.counter0 }}" value=
"{{ podcast.url }}" />
37 {% for podcast in podcasts %}
38 <th>{% podcast_link podcast %}
</th>
42 {% for n, episodes in groups %}
46 {% for podcast in podcasts %}
48 {% for episode in episodes %}
49 {% if episode.podcast == podcast.get_id %}
50 <input type=
"text" name=
"episode_{% get_id episode %}" value=
"{{ n }}" size=
"2"/>
51 {% episode_link episode podcast %}
<br />
62 <td><input type=
"submit" name=
"renew" value=
"Renew Groups" /></td>
63 <td><input type=
"submit" name=
"merge" value=
"Merge!" /></td>