aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/policies/info_pages_templates/info_base.html.jinja
diff options
context:
space:
mode:
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 %}