summaryrefslogtreecommitdiffstats
path: root/askbot/templates/user_profile/user_email_subscriptions.html
blob: f44e8a1e6922ca36e54248fbf7c9781eb1623040 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% extends "user_profile/user.html" %}
<!-- user_email_subscriptions.html -->
{% block profilesection %}
    {% trans %}subscriptions{% endtrans %}
{% endblock %}
{% block usercontent %}
    <h2>{% trans %}Email subscription settings{% endtrans %}</h2>
    <p class="message">
{% trans %}<span class='big strong'>Adjust frequency of email updates.</span> Receive updates on interesting questions by email, <strong><br/>help the community</strong> by answering questions of your colleagues. If you do not wish to receive emails - select 'no email' on all items below.<br/>Updates are only sent when there is any new activity on selected items.{% endtrans %}</p>
    <div>
    {% if action_status %}
        <p class="action-status"><span>{{action_status}}</span></p>
    {% endif %}
    <form method="post" action="">{% csrf_token %}
        <table class='form-as-table ab-subscr-form'>
        {{email_feeds_form.as_table()}}
        </table>
        <table class='form-as-table ab-tag-filter-form'>
        {{tag_filter_selection_form}}
        </table>
        <div class="submit-row text-align-right">
            <input type="submit" class="submit" name="save" value="{% trans %}Update{% endtrans %}"/>&nbsp;
            <input type="submit" class="submit" name="stop_email" value="{% trans %}Stop Email{% endtrans %}"/>
        </div>
    </form>
    </div>
{% endblock %}
<!-- end user_email_subscriptions.html -->