From c1436c2a5d7c33136d94bc02480aa73a57fb7eb4 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Mon, 15 Nov 2021 14:54:08 +0100
Subject: [PATCH] Add model section to template and add API link to sidenav
---
app/templates/_sidenav.html.j2 | 3 ++-
app/templates/base.html.j2 | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/app/templates/_sidenav.html.j2 b/app/templates/_sidenav.html.j2
index ffd87c66..aaa71647 100644
--- a/app/templates/_sidenav.html.j2
+++ b/app/templates/_sidenav.html.j2
@@ -25,6 +25,7 @@
{% if current_user.is_administrator() %}
- buildAdministration
+ admin_panel_settingsAdministration
+ apiAPI
{% endif %}
diff --git a/app/templates/base.html.j2 b/app/templates/base.html.j2
index 123d7eb6..7a1c9fa9 100644
--- a/app/templates/base.html.j2
+++ b/app/templates/base.html.j2
@@ -32,11 +32,13 @@
{% block main_attribs %} class="background-color"{% endblock main_attribs %}
{% block main %}
{% block page_content %}{% endblock page_content %}
+{% block modals %}
{% if current_user.is_authenticated %}
{% include "_roadmap.html.j2" %}
{% endif %}
+{% endblock modals %}
{% endblock main %}
{% block footer_attribs %} class="page-footer primary-variant-color"{% endblock footer_attribs %}