remove class btn-warning
[mygpo.git] / mygpo / web / templates / privacy.html
blob39efd134340d699fcb0622ddfcc854849af06ab3
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 content %}
12 <h1>{% trans "Privacy Settings" %}</h1>
14 <p>{% blocktrans %}{{ domain }} distinguishes between public and private subscriptions.{% endblocktrans %}
15 <ul>
16 <li>{% blocktrans %}<strong>Public</strong> subscriptions are included in your <a href="/share/">shared podcasts</a> them) and ouranonymized public statistics.{% endblocktrans %}</li>
17 <li>{% blocktrans %}<strong>Private</strong> subscriptions do neither show up in your list of shared podcasts, nor are considered in our statistics.{% endblocktrans %}</li>
18 </ul>
19 </p>
21 <p>
22 {% if public_subscriptions %}
23 {% trans "New subscriptions will be public by default." %}
24 <form method="post" action="{% url privacy_default_private %}">
25 {% csrf_token %}
26 <button class="btn" type="submit">
27 <i class="icon-eye-close"></i> {% trans "Change to Private" %}
28 </button>
29 </form>
30 {% else %}
31 {% trans "New subscriptions will be private by default." %}
32 <form method="post" action="{% url privacy_default_public %}">
33 {% csrf_token %}
34 <button class="btn" type="submit">
35 <i class="icon-eye-open"></i> {% trans "Change to Public" %}
36 </button>
37 </form>
38 {% endif %}
39 </p>
41 {% if included_subscriptions %}
42 <h2>{% trans "Public Subscriptions" %}</h2>
43 <table class="list">
45 {% for podcast in included_subscriptions %}
46 <tr>
47 <td class="logo">{{ podcast|podcast_logo }}</td>
48 <td>{% podcast_group_link podcast %}</td>
49 <td>
50 <form method="post" action="{% url privacy_podcast_private podcast.get_id %}">
51 {% csrf_token %}
52 <button class="btn btn-danger" type="submit">
53 <i class="icon-eye-close"></i> {% trans "Make Private" %}
54 </button>
55 </form>
56 </td>
57 </tr>
58 {% endfor %}
59 </table>
60 {% endif %}
63 {% if excluded_subscriptions %}
64 <h2>{% trans "Private Subscriptions" %}</h3>
65 <table class="list">
67 {% for podcast in excluded_subscriptions %}
68 <tr>
69 <td class="logo">{{ podcast|podcast_logo }}</td>
70 <td>{% podcast_group_link podcast %}</td>
71 <td>
72 <form method="post" action="{% url privacy_podcast_public podcast.get_id %}">
73 {% csrf_token %}
74 <button class="btn" type="submit">
75 <i class="icon-eye-open"></i> {% trans "Make Public" %}
76 </button>
77 </form>
78 </tr>
79 {% endfor %}
80 </table>
81 {% endif %}
83 {% endblock %}