remove now unused {% load url from future %}
[mygpo.git] / mygpo / web / templates / privacy.html
blobc173a196e5acf1b9ebf4d9a150c99c4d7a581f14
1 {% extends "base.html" %}
2 {% load i18n %}
3 {% load podcasts %}
5 {% load menu %}
6 {% block mainmenu %}{{ "/account/"|main_menu }}{% endblock %}
7 {% block sectionmenu %}{{ "/account/privacy"|section_menu }}{% endblock %}
9 {% block title %}{% trans "Privacy Settings" %}{% endblock %}
11 {% block header %}
12 <h1>{% trans "Privacy Settings" %}</h1>
13 {% endblock %}
16 {% block content %}
18 <p>{% blocktrans %}{{ domain }} distinguishes between public and private subscriptions.{% endblocktrans %}
19 <ul>
20 <li>{% blocktrans %}<strong>Public</strong> subscriptions are included in your <a href="/share/">shared podcasts</a> them) and ouranonymized public statistics.{% endblocktrans %}</li>
21 <li>{% blocktrans %}<strong>Private</strong> subscriptions do neither show up in your list of shared podcasts, nor are considered in our statistics.{% endblocktrans %}</li>
22 </ul>
23 </p>
25 <p>
26 {% if public_subscriptions %}
27 {% trans "New subscriptions will be public by default." %}
28 <form method="post" action="{% url "privacy_default_private" %}">
29 {% csrf_token %}
30 <button class="btn" type="submit">
31 <i class="icon-eye-close"></i> {% trans "Change to Private" %}
32 </button>
33 </form>
34 {% else %}
35 {% trans "New subscriptions will be private by default." %}
36 <form method="post" action="{% url "privacy_default_public" %}">
37 {% csrf_token %}
38 <button class="btn" type="submit">
39 <i class="icon-eye-open"></i> {% trans "Change to Public" %}
40 </button>
41 </form>
42 {% endif %}
43 </p>
45 {% if included_subscriptions %}
46 <h2>{% trans "Public Subscriptions" %}</h2>
47 <table class="list">
49 {% for podcast in included_subscriptions %}
50 <tr>
51 <td class="logo">{{ podcast|podcast_logo }}</td>
52 <td>{% podcast_group_link podcast %}</td>
53 <td>
54 <form method="post" action="{% url "privacy_podcast_private" podcast.get_id %}">
55 {% csrf_token %}
56 <button class="btn btn-small" type="submit">
57 <i class="icon-eye-close"></i> {% trans "Make Private" %}
58 </button>
59 </form>
60 </td>
61 </tr>
62 {% endfor %}
63 </table>
64 {% endif %}
67 {% if excluded_subscriptions %}
68 <h2>{% trans "Private Subscriptions" %}</h3>
69 <table class="list">
71 {% for podcast in excluded_subscriptions %}
72 <tr>
73 <td class="logo">{{ podcast|podcast_logo }}</td>
74 <td>{% podcast_group_link podcast %}</td>
75 <td>
76 <form method="post" action="{% url "privacy_podcast_public" podcast.get_id %}">
77 {% csrf_token %}
78 <button class="btn btn-small" type="submit">
79 <i class="icon-eye-open"></i> {% trans "Make Public" %}
80 </button>
81 </form>
82 </tr>
83 {% endfor %}
84 </table>
85 {% endif %}
87 {% endblock %}