-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.html
More file actions
44 lines (38 loc) · 1.29 KB
/
Copy pathsettings.html
File metadata and controls
44 lines (38 loc) · 1.29 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{% extends "wiki/base.html" %}
{% load wiki_tags i18n humanize %}
{% block wiki_pagetitle %}{% trans "Notifications" %}: {{ article.current_revision.title }}{% endblock %}
{% block wiki_contents %}
<h1>{% trans "Your notification settings" %}</h1>
<p class="lead">
{% trans "Manage how often you receive notifications" %}
</p>
<form method="POST" class="form-horizontal">
{% include "wiki/includes/formerrors.html" with form=formset.management_form %}
{% csrf_token %}
{{ formset.management_form }}
{% for form in formset %}
<fieldset>
<legend>{% trans "Settings for" %} {{ form.instance.articlesubscriptions.count }} {% trans "articles" %}</legend>
{% include "wiki/includes/formerrors.html" with form=form %}
{% for field in form %}
{% include "wiki/includes/formfield.html" %}
{% endfor %}
</fieldset>
{% empty %}
<em>{% trans "You are not subscribed to any notifications yet." %}</em>
{% endfor %}
{% if formset.forms %}
<div class="form-group form-actions">
<div class="col-lg-2"></div>
<div class="col-lg-10">
<button type="submit" class="btn btn-primary">
<span class="fa fa-check"></span>
{% trans "Save changes" %}
</button>
</div>
</div>
{% endif %}
</form>
<div class="row">
</div>
{% endblock %}