From fc5824e0f672f30b897e5bcde4fb5ddd3d5281c1 Mon Sep 17 00:00:00 2001 From: SvyatoslavArtymovych Date: Mon, 24 Apr 2023 16:11:16 +0300 Subject: [PATCH] posibility to hide right sidebar --- app/templates/base.html | 6 ++++-- app/templates/user/users.html | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/templates/base.html b/app/templates/base.html index 8686a08..c28b8dd 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -74,10 +74,12 @@ {% include 'sidebar.html' %} - {% include 'right_sidebar.html' %} + + {% block right_sidebar %} {% include 'right_sidebar.html' %} {% endblock %} + {% include 'book/add_book_modal.html' %} -
+
{% block content %}{% endblock %}
diff --git a/app/templates/user/users.html b/app/templates/user/users.html index 3b2773d..10be0df 100644 --- a/app/templates/user/users.html +++ b/app/templates/user/users.html @@ -1,8 +1,8 @@ {% extends 'base.html' %} {% block content %} -
- +
+