|
| 1 | +{# Copyright The IETF Trust 2010, All Rights Reserved #} |
| 2 | +{% extends "base.html" %} |
| 3 | +{% load ietf_filters %} |
| 4 | +{% block title %}User settings{% endblock %} |
| 5 | +{% block content %} |
| 6 | + |
| 7 | +<h2>Cookie settings for the ietf datatracker.</h2> |
| 8 | + |
| 9 | +<p> Following settings are implemented using cookies, so if you have |
| 10 | +cookies disabled then you are not able to change the settings |
| 11 | +(everything still continues to work by using default settings).</p> |
| 12 | + |
| 13 | +<table id="settings"> |
| 14 | + <tr class="setting-header"> |
| 15 | + <td colspan="6"> |
| 16 | + <h2 class="ietf-divider">How many days is considered new</h2> |
| 17 | + </td> |
| 18 | + <tr> |
| 19 | + <tr class="setting-description"> |
| 20 | + <td colspan="6"> |
| 21 | + <p>This setting affects how many days is considered new enough to get the special marking in the drafts page. Default setting is 14 days.</p> |
| 22 | + </td> |
| 23 | + </tr> |
| 24 | + <tr class="settings-values"> |
| 25 | + <td>{% if new_enough|equal:"7" %}<span class="ietf-highlight-y"><a href="/cookies/new_enough/7">7 days</a></span>{%else%}<a href="/cookies/new_enough/7">7 days</a>{% endif %}</td></td> |
| 26 | + <td>{% if new_enough|equal:"14" %}<span class="ietf-highlight-y"><a href="/cookies/new_enough/14">14 days</a></span>{%else%}<a href="/cookies/new_enough/14">14 days</a>{% endif %}</td> |
| 27 | + <td>{% if new_enough|equal:"21" %}<span class="ietf-highlight-y"><a href="/cookies/new_enough/21">21 days</a></span>{%else%}<a href="/cookies/new_enough/21">21 days</a>{% endif %}</td> |
| 28 | + <td>{% if new_enough|equal:"30" %}<span class="ietf-highlight-y"><a href="/cookies/new_enough/30">30 days</a></span>{%else%}<a href="/cookies/new_enough/30">30 days</a>{% endif %}</td> |
| 29 | + <td>{% if new_enough|equal:"60" %}<span class="ietf-highlight-y"><a href="/cookies/new_enough/60">60 days</a></span>{%else%}<a href="/cookies/new_enough/60">60 days</a>{% endif %}</td> |
| 30 | + <td>{% if new_enough|equal:"90" %}<span class="ietf-highlight-y"><a href="/cookies/new_enough/90">90 days</a></span>{%else%}<a href="/cookies/new_enough/90">90 days</a>{% endif %}</td> |
| 31 | + </tr> |
| 32 | + |
| 33 | + <tr class="setting-header"> |
| 34 | + <td colspan="6"> |
| 35 | + <h2 class="ietf-divider">How many days is considered soon</h2> |
| 36 | + </td> |
| 37 | + <tr> |
| 38 | + <tr class="setting-description"> |
| 39 | + <td colspan="6"> |
| 40 | + <p>This setting tells what is considered soon when showing document which is going to be expire soon. Default setting is 14 days.</p> |
| 41 | + </td> |
| 42 | + </tr> |
| 43 | + <tr class="settings-values"> |
| 44 | + <td>{% if expires_soon|equal:"7" %}<span class="ietf-highlight-y"><a href="/cookies/expires_soon/7">7 days</a></span>{%else%}<a href="/cookies/expires_soon/7">7 days</a>{% endif %}</td></td> |
| 45 | + <td>{% if expires_soon|equal:"14" %}<span class="ietf-highlight-y"><a href="/cookies/expires_soon/14">14 days</a></span>{%else%}<a href="/cookies/expires_soon/14">14 days</a>{% endif %}</td> |
| 46 | + <td>{% if expires_soon|equal:"21" %}<span class="ietf-highlight-y"><a href="/cookies/expires_soon/21">21 days</a></span>{%else%}<a href="/cookies/expires_soon/21">21 days</a>{% endif %}</td> |
| 47 | + <td>{% if expires_soon|equal:"30" %}<span class="ietf-highlight-y"><a href="/cookies/expires_soon/30">30 days</a></span>{%else%}<a href="/cookies/expires_soon/30">30 days</a>{% endif %}</td> |
| 48 | + <td>{% if expires_soon|equal:"60" %}<span class="ietf-highlight-y"><a href="/cookies/expires_soon/60">60 days</a></span>{%else%}<a href="/cookies/expires_soon/60">60 days</a>{% endif %}</td> |
| 49 | + <td>{% if expires_soon|equal:"90" %}<span class="ietf-highlight-y"><a href="/cookies/expires_soon/90">90 days</a></span>{%else%}<a href="/cookies/expires_soon/90">90 days</a>{% endif %}</td> |
| 50 | + </tr> |
| 51 | +</table> |
| 52 | +{% endblock %} |
| 53 | + |
0 commit comments