forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.html
More file actions
151 lines (151 loc) · 5.09 KB
/
settings.html
File metadata and controls
151 lines (151 loc) · 5.09 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% extends "base.html" %}
{% load origin %}
{% block title %}
User settings
{% endblock %}
{% block content %}
{% origin %}
<h1>User settings</h1>
<p>
The following settings are implemented using cookies, so if you have
cookies disabled then you will not be able to change the settings
(everything still continues to work by using default settings).
</p>
<h2>How many days is considered "new"?</h2>
<p>
This setting affects how many days are considered "new enough" to get the special highlighting in the documents table. The default setting is {{ defaults.new_enough }} days.
</p>
<p class="btn-group d-flex">
<a class="btn btn-outline-primary
{% if new_enough == '7' %}
active
{% endif %}"
href="/accounts/settings/new_enough/7">
7 days
</a>
<a class="btn btn-outline-primary
{% if new_enough == '14' %}
active
{% endif %}"
href="/accounts/settings/new_enough/14">
14 days
</a>
<a class="btn btn-outline-primary
{% if new_enough == '21' %}
active
{% endif %}"
href="/accounts/settings/new_enough/21">
21 days
</a>
<a class="btn btn-outline-primary
{% if new_enough == '30' %}
active
{% endif %}"
href="/accounts/settings/new_enough/30">
30 days
</a>
<a class="btn btn-outline-primary
{% if new_enough == '60' %}
active
{% endif %}"
href="/accounts/settings/new_enough/60">
60 days
</a>
<a class="btn btn-outline-primary
{% if new_enough == '90' %}
active
{% endif %}"
href="/accounts/settings/new_enough/90">
90 days
</a>
</p>
<h2>How many days is considered "soon"?</h2>
<p>
This setting tells what is considered "soon" when showing documents that are going to be expire soon. The Default setting is {{ defaults.expires_soon }} days.
</p>
<p class="btn-group d-flex">
<a class="btn btn-outline-primary
{% if expires_soon == '7' %}
active
{% endif %}"
href="/accounts/settings/expires_soon/7">
7 days
</a>
<a class="btn btn-outline-primary
{% if expires_soon == '14' %}
active
{% endif %}"
href="/accounts/settings/expires_soon/14">
14 days
</a>
<a class="btn btn-outline-primary
{% if expires_soon == '21' %}
active
{% endif %}"
href="/accounts/settings/expires_soon/21">
21 days
</a>
<a class="btn btn-outline-primary
{% if expires_soon == '30' %}
active
{% endif %}"
href="/accounts/settings/expires_soon/30">
30 days
</a>
<a class="btn btn-outline-primary
{% if expires_soon == '60' %}
active
{% endif %}"
href="/accounts/settings/expires_soon/60">
60 days
</a>
<a class="btn btn-outline-primary
{% if expires_soon == '90' %}
active
{% endif %}"
href="/accounts/settings/expires_soon/90">
90 days
</a>
</p>
<h2>Show full document text by default?</h2>
<p>
Show the full text immediately on the document page instead of only showing beginning of it. This defaults to {{ defaults.full_draft }}.
</p>
<p class="btn-group d-flex">
<a class="btn btn-outline-primary
{% if full_draft == 'off' %}
active
{% endif %}"
href="/accounts/settings/full_draft/off">
Off
</a>
<a class="btn btn-outline-primary
{% if full_draft == 'on' %}
active
{% endif %}"
href="/accounts/settings/full_draft/on">
On
</a>
</p>
<h2>Show the left-hand menu?</h2>
<p>
Show the left-hand menu on all regular pages? This defaults to {{ defaults.left_menu }}.
</p>
<p class="btn-group d-flex">
<a class="btn btn-outline-primary
{% if left_menu == 'off' %}
active
{% endif %}"
href="/accounts/settings/left_menu/off">
Off
</a>
<a class="btn btn-outline-primary
{% if left_menu == 'on' %}
active
{% endif %}"
href="/accounts/settings/left_menu/on">
On
</a>
</p>
{% endblock %}