From 7bc4a29b8f3953f30a9e3f678f6e938e4e39023e Mon Sep 17 00:00:00 2001 From: Birger Schacht Date: Tue, 12 Sep 2023 13:18:13 +0200 Subject: [PATCH] feat(core): add userlogin-menu block to `base.html` This commit encloses the user menu in the base template in a `userlogin-menu` block. This lets downstream projects override the userlogin-menu without having to copy the whole template (like apis-webpage did until now). This commit also removes the `Use edit views` checkbox, because it had no effect. The commit also adds a closing `` that was missing before, thats why the whole structure after the change got reindented. --- apis_core/apis_metainfo/templates/base.html | 166 ++++++++++---------- 1 file changed, 80 insertions(+), 86 deletions(-) diff --git a/apis_core/apis_metainfo/templates/base.html b/apis_core/apis_metainfo/templates/base.html index 3a0741b2e..e9a641c44 100644 --- a/apis_core/apis_metainfo/templates/base.html +++ b/apis_core/apis_metainfo/templates/base.html @@ -129,33 +129,25 @@ {% endblock main-menu-extra %} - -