aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/policies/info_pages_templates/info_base.html.jinja
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-10-27 14:06:53 +0200
committerWojtek Kosior <koszko@koszko.org>2022-10-27 15:22:36 +0200
commit32a2de0c3ff6dec5bc3ef6496b7e3cdde671e5f3 (patch)
tree7bbb26be6be43f4eb0d664e1870ab391300925b5 /src/hydrilla/proxy/policies/info_pages_templates/info_base.html.jinja
parentf78ae614702a79d43a6083f3d8880ac9cb026f05 (diff)
downloadhaketilo-hydrilla-32a2de0c3ff6dec5bc3ef6496b7e3cdde671e5f3.tar.gz
haketilo-hydrilla-32a2de0c3ff6dec5bc3ef6496b7e3cdde671e5f3.zip
[proxy] document policy selection
Diffstat (limited to 'src/hydrilla/proxy/policies/info_pages_templates/info_base.html.jinja')
-rw-r--r--src/hydrilla/proxy/policies/info_pages_templates/info_base.html.jinja9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/hydrilla/proxy/policies/info_pages_templates/info_base.html.jinja b/src/hydrilla/proxy/policies/info_pages_templates/info_base.html.jinja
index 0785039..ccdc7c8 100644
--- a/src/hydrilla/proxy/policies/info_pages_templates/info_base.html.jinja
+++ b/src/hydrilla/proxy/policies/info_pages_templates/info_base.html.jinja
@@ -20,6 +20,11 @@ code in a proprietary work, I am not going to enforce this in court.
#}
{% extends "base.html.jinja" %}
+{% macro hkt_doc_link(page_name) %}
+ {% set doc_url = 'https://hkt.mitm.it/doc/' ~ page_name %}
+ {{ doc_link(doc_url) }}
+{% endmacro %}
+
{% block style %}
{{ super() }}
@@ -47,7 +52,9 @@ code in a proprietary work, I am not going to enforce this in court.
<div class="horizontal-separator"></div>
- {{ label(_('info.base.page_policy_label')) }}
+ {% call label(_('info.base.page_policy_label')) %}
+ {{ hkt_doc_link('policy_selection') }}
+ {% endcall %}
<p class="has-colored-links">
{% block site_policy required %}{% endblock %}