From 92ea4d527b5c00211b05bdb35701c190096689da Mon Sep 17 00:00:00 2001 From: Iain Learmonth Date: Wed, 17 Aug 2022 11:48:06 +0100 Subject: [PATCH] portal: display additional links configured in yaml --- app/portal/templates/base.html.j2 | 14 ++++++++++++++ app/portal/templates/icons.html.j2 | 9 +++++++++ 2 files changed, 23 insertions(+) diff --git a/app/portal/templates/base.html.j2 b/app/portal/templates/base.html.j2 index 2353040..e9248a4 100644 --- a/app/portal/templates/base.html.j2 +++ b/app/portal/templates/base.html.j2 @@ -168,6 +168,20 @@ + {% if config['ADDITIONAL_SIDEBAR_LINKS'] %} + + + {% endif %}
diff --git a/app/portal/templates/icons.html.j2 b/app/portal/templates/icons.html.j2 index 55e5f26..f9bc666 100644 --- a/app/portal/templates/icons.html.j2 +++ b/app/portal/templates/icons.html.j2 @@ -44,6 +44,10 @@ viewBox="0 0 16 16"> + {% elif i == "graph-up-arrow" %} + + + {% elif i == "hdd" %} @@ -82,6 +86,11 @@ Tor icon + {% elif i == "question-circle" %} + + + + {% elif i == "server" %}