datatracker/ietf/templates/cookies/settings.html
Lars Eggert c09fd9dad2
chore: Use URL resolver in more places (#4104)
* chore: Use URL resolver more

* Use settings.IDTRACKER_BASE_URL

* More fixes

* Use URL resolver for things under /accounts

* Use URL resolver for things under /stream

* Use URL resolver for things under /iesg

* Use URL resolver for things under /meeting

* Fix bugs

* Use URL resolver for things under /help

* Use URL resolver for things under /ipr

* More changes

* Revert vnu.jar

* Fix typos

* Address review comments by @rjsparks

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2022-06-22 14:10:16 -05:00

151 lines
5.4 KiB
HTML

{# 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="{% url 'ietf.cookies.views.new_enough' days=7 %}">
7 days
</a>
<a class="btn btn-outline-primary
{% if new_enough == '14' %}
active
{% endif %}"
href="{% url 'ietf.cookies.views.new_enough' days=14 %}">
14 days
</a>
<a class="btn btn-outline-primary
{% if new_enough == '21' %}
active
{% endif %}"
href="{% url 'ietf.cookies.views.new_enough' days=21 %}">
21 days
</a>
<a class="btn btn-outline-primary
{% if new_enough == '30' %}
active
{% endif %}"
href="{% url 'ietf.cookies.views.new_enough' days=30 %}">
30 days
</a>
<a class="btn btn-outline-primary
{% if new_enough == '60' %}
active
{% endif %}"
href="{% url 'ietf.cookies.views.new_enough' days=60 %}">
60 days
</a>
<a class="btn btn-outline-primary
{% if new_enough == '90' %}
active
{% endif %}"
href="{% url 'ietf.cookies.views.new_enough' days=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="{% url 'ietf.cookies.views.expires_soon' days=7 %}">
7 days
</a>
<a class="btn btn-outline-primary
{% if expires_soon == '14' %}
active
{% endif %}"
href="{% url 'ietf.cookies.views.expires_soon' days=14 %}">
14 days
</a>
<a class="btn btn-outline-primary
{% if expires_soon == '21' %}
active
{% endif %}"
href="{% url 'ietf.cookies.views.expires_soon' days=21 %}">
21 days
</a>
<a class="btn btn-outline-primary
{% if expires_soon == '30' %}
active
{% endif %}"
href="{% url 'ietf.cookies.views.expires_soon' days=30 %}">
30 days
</a>
<a class="btn btn-outline-primary
{% if expires_soon == '60' %}
active
{% endif %}"
href="{% url 'ietf.cookies.views.expires_soon' days=60 %}">
60 days
</a>
<a class="btn btn-outline-primary
{% if expires_soon == '90' %}
active
{% endif %}"
href="{% url 'ietf.cookies.views.expires_soon' days=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="{% url 'ietf.cookies.views.full_draft' enabled='off' %}">
Off
</a>
<a class="btn btn-outline-primary
{% if full_draft == 'on' %}
active
{% endif %}"
href="{% url 'ietf.cookies.views.full_draft' enabled='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="{% url 'ietf.cookies.views.left_menu' enabled='off' %}">
Off
</a>
<a class="btn btn-outline-primary
{% if left_menu == 'on' %}
active
{% endif %}"
href="{% url 'ietf.cookies.views.left_menu' enabled='on' %}">
On
</a>
</p>
{% endblock %}