From 9e289e9937a8872b4e8de375a38b11be8f981f0d Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 16 Dec 2018 16:02:03 +0100 Subject: [PATCH] core: add about modal --- passbook/audit/apps.py | 1 + passbook/captcha_factor/apps.py | 1 + passbook/core/templates/base/skeleton.html | 4 +++ passbook/core/templates/overview/base.html | 2 +- .../core/templates/partials/about_modal.html | 36 +++++++++++++++++++ passbook/ldap/apps.py | 2 +- passbook/lib/templatetags/utils.py | 15 ++++++++ passbook/totp/apps.py | 1 + 8 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 passbook/core/templates/partials/about_modal.html diff --git a/passbook/audit/apps.py b/passbook/audit/apps.py index ac83dbcf3..cdb357d56 100644 --- a/passbook/audit/apps.py +++ b/passbook/audit/apps.py @@ -9,6 +9,7 @@ class PassbookAuditConfig(AppConfig): name = 'passbook.audit' label = 'passbook_audit' + verbose_name = 'passbook Audit' mountpoint = 'audit/' def ready(self): diff --git a/passbook/captcha_factor/apps.py b/passbook/captcha_factor/apps.py index 9409a5e7b..8c1c3294e 100644 --- a/passbook/captcha_factor/apps.py +++ b/passbook/captcha_factor/apps.py @@ -7,3 +7,4 @@ class PassbookCaptchaFactorConfig(AppConfig): name = 'passbook.captcha_factor' label = 'passbook_captcha_factor' + verbose_name = 'passbook Captcha' diff --git a/passbook/core/templates/base/skeleton.html b/passbook/core/templates/base/skeleton.html index 7896471c8..de44486bb 100644 --- a/passbook/core/templates/base/skeleton.html +++ b/passbook/core/templates/base/skeleton.html @@ -12,6 +12,7 @@ {% endblock %} + {% block head %} @@ -25,5 +26,8 @@ {% block scripts %} {% endblock %} +
+ {% include 'partials/about_modal.html' %} +
diff --git a/passbook/core/templates/overview/base.html b/passbook/core/templates/overview/base.html index 37db9af47..ebbb9f826 100644 --- a/passbook/core/templates/overview/base.html +++ b/passbook/core/templates/overview/base.html @@ -26,7 +26,7 @@