add missing podcasts in celery task
[mygpo.git] / mygpo / directory / templates / directory / add-podcast-status.html
blobf5130dd4f39693f5d2ceef1dac3a0e5723bce3f6
1 {% extends "base.html" %}
3 {% load i18n %}
4 {% load podcasts %}
6 {% load menu %}
7 {% block mainmenu %}{{ "/missing/"|main_menu }}{% endblock %}
8 {% block sectionmenu %}{{ "/missing/"|section_menu }}{% endblock %}
10 {% block head %}
11 <meta http-equiv="refresh" content="10">
12 {% endblock %}
14 {% block title %}
15 {% if ready %}
16 {% trans "Podcast Added" %}
17 {% else %}
18 {% trans "Adding Podcast" %}
19 {% endif %}
20 {% endblock %}
22 {% block header %}
23 <h1>
24 {% if ready %}
25 {% trans "Podcast Added" %}
26 {% else %}
27 {% trans "Adding Podcast" %}
28 {% endif %}
29 </h1>
30 {% endblock %}
32 {% block content %}
34 {% if ready %}
35 {% for podcast in podcasts %}
37 <div class="result">
38 {{ podcast|podcast_logo }}
39 {% podcast_group_link podcast %}
40 </div>
42 {% empty %}
44 <p>{% trans "No podcasts could be added" %}</p>
46 {% endfor %}
48 {% else %}
50 <p>{% trans "The operation is still ongoing..." %}</p>
52 <a class="btn" href="">{% trans "Refresh" %}</a>
53 {% endif %}
55 {% endblock %}