aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/web_ui
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-10-28 15:37:33 +0200
committerWojtek Kosior <koszko@koszko.org>2022-10-28 16:06:07 +0200
commitbbfe6b3314c034dd03962c06cd957540cca8a95b (patch)
tree38d0807bcdaa92ef1e10b44bf0f951ddbc8f8ef1 /src/hydrilla/proxy/web_ui
parentedb1299c7196a6c3909f4ec3160428636197d877 (diff)
downloadhaketilo-hydrilla-bbfe6b3314c034dd03962c06cd957540cca8a95b.tar.gz
haketilo-hydrilla-bbfe6b3314c034dd03962c06cd957540cca8a95b.zip
[proxy] document packages
Diffstat (limited to 'src/hydrilla/proxy/web_ui')
-rw-r--r--src/hydrilla/proxy/web_ui/templates/import.html.jinja5
-rw-r--r--src/hydrilla/proxy/web_ui/templates/index.html.jinja8
-rw-r--r--src/hydrilla/proxy/web_ui/templates/items/libraries.html.jinja5
-rw-r--r--src/hydrilla/proxy/web_ui/templates/items/packages.html.jinja5
-rw-r--r--src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja1
5 files changed, 19 insertions, 5 deletions
diff --git a/src/hydrilla/proxy/web_ui/templates/import.html.jinja b/src/hydrilla/proxy/web_ui/templates/import.html.jinja
index afeb5a2..34f1b66 100644
--- a/src/hydrilla/proxy/web_ui/templates/import.html.jinja
+++ b/src/hydrilla/proxy/web_ui/templates/import.html.jinja
@@ -72,7 +72,10 @@ code in a proprietary work, I am not going to enforce this in court.
<div class="horizontal-separator"></div>
- <h4>{{ _('web_ui.import.heading_import_ad_hoc') }}</h4>
+ <h4>
+ {{ _('web_ui.import.heading_import_ad_hoc') }}
+ {{ hkt_doc_link('packages') }}
+ </h4>
{% if invalid_ad_hoc_package is defined %}
{{ error_note(_('web_ui.err.invalid_ad_hoc_package')) }}
diff --git a/src/hydrilla/proxy/web_ui/templates/index.html.jinja b/src/hydrilla/proxy/web_ui/templates/index.html.jinja
index 36d9941..93b834a 100644
--- a/src/hydrilla/proxy/web_ui/templates/index.html.jinja
+++ b/src/hydrilla/proxy/web_ui/templates/index.html.jinja
@@ -67,7 +67,9 @@ code in a proprietary work, I am not going to enforce this in court.
{{ _('web_ui.home.heading.options') }}
</h4>
- {{ label(_('web_ui.home.mapping_usage_mode_label')) }}
+ {% call label(_('web_ui.home.mapping_usage_mode_label')) %}
+ {{ hkt_doc_link('packages') }}
+ {% endcall %}
{% set use_enabled_but_classes = ['green-button'] %}
{% set use_auto_but_classes = ['green-button'] %}
@@ -103,7 +105,9 @@ code in a proprietary work, I am not going to enforce this in court.
<div class="horizontal-separator"></div>
- {{ label(_('web_ui.home.script_blocking_mode_label')) }}
+ {% call label(_('web_ui.home.script_blocking_mode_label')) %}
+ {{ hkt_doc_link('script_blocking') }}
+ {% endcall %}
{% set allow_but_classes = ['red-button'] %}
{% set block_but_classes = ['blue-button'] %}
diff --git a/src/hydrilla/proxy/web_ui/templates/items/libraries.html.jinja b/src/hydrilla/proxy/web_ui/templates/items/libraries.html.jinja
index 0996b8b..d94d51c 100644
--- a/src/hydrilla/proxy/web_ui/templates/items/libraries.html.jinja
+++ b/src/hydrilla/proxy/web_ui/templates/items/libraries.html.jinja
@@ -36,7 +36,10 @@ code in a proprietary work, I am not going to enforce this in court.
{% endblock %}
{% block main %}
- <h3>{{ _('web_ui.libraries.heading') }}</h3>
+ <h3>
+ {{ _('web_ui.libraries.heading') }}
+ {{ hkt_doc_link('packages') }}
+ </h3>
<ul class="item-list">
{% for info in display_infos %}
diff --git a/src/hydrilla/proxy/web_ui/templates/items/packages.html.jinja b/src/hydrilla/proxy/web_ui/templates/items/packages.html.jinja
index b79d594..43acaf7 100644
--- a/src/hydrilla/proxy/web_ui/templates/items/packages.html.jinja
+++ b/src/hydrilla/proxy/web_ui/templates/items/packages.html.jinja
@@ -36,7 +36,10 @@ code in a proprietary work, I am not going to enforce this in court.
{% endblock %}
{% block main %}
- <h3>{{ _('web_ui.packages.heading') }}</h3>
+ <h3>
+ {{ _('web_ui.packages.heading') }}
+ {{ hkt_doc_link('packages') }}
+ </h3>
<ul class="item-list">
{% for info in display_infos %}
diff --git a/src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja b/src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja
index 8b070d9..939b2d6 100644
--- a/src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja
+++ b/src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja
@@ -162,6 +162,7 @@ code in a proprietary work, I am not going to enforce this in court.
.format(mappings = display_info.mapping_count)
}}
{% endif %}
+ {{ hkt_doc_link('packages') }}
</p>
{% if not display_info.deleted %}