remove print statement in logo.py
[mygpo.git] / mygpo / directory / templates / missing.html
blobddadab4e14a2d75e5abe78cb1305a693b735637a
1 {% extends 'base.html' %}
3 {% load i18n %}
4 {% load podcasts %}
5 {% load charts %}
7 {% load menu %}
8 {% block mainmenu %}{{ "/missing/"|main_menu }}{% endblock %}
9 {% block sectionmenu %}{{ "/missing/"|section_menu }}{% endblock %}
11 {% block title %}{% trans "Missing Podcast" %}{% endblock %}
13 {% block header %}
14 <h1>{% trans "Missing Podcast" %}</h1>
15 {% endblock %}
18 {% block content %}
20 <p>{% blocktrans with site as sitename %}If you're missing a podcast on {{ sitename }}, please enter its feed URL here{% endblocktrans %}</p>
23 <form class="form-inline" method="get" action="{% url "missing-podcast" %}" class="search">
24 <div class="input-prepend input-append">
25 <span class="add-on"><i class="icon-search"></i></span><input class="input-xxlarge" type="text" placeholder="Podcast Feed URL" name="q" {% if q %}value="{{ q }}"{% endif %} ><button class="btn btn-primary" type="submit">{% trans "Check" %}</button>
26 </div>
27 </form>
29 {% if q %}
31 {% if podcast %}
33 <p>{% trans "The podcast already exists" %}</p>
34 <div class="result">
35 {{ podcast|podcast_logo }}
36 {% podcast_group_link podcast %}
37 </div>
39 {% else %}
41 {% if can_add %}
43 <form action="{% url "add-podcast" %}" method="post">
44 {% csrf_token %}
45 <input type="hidden" name="url" value="{{ q }}">
46 <button class="btn btn-primary" type="submit">{% trans "Add Podcast" %}</button>
47 </form>
49 {% endif %}
51 {% endif %}
53 {% endif %}
55 {% endblock %}