From fdee3ed6766d7f128e92499f34d5d6a72690e685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 26 Jul 2018 13:18:27 +0200 Subject: [PATCH] restore base.html as it has been removed from publik-base-theme (#25154) --- templates/base.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 templates/base.html diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..7a8a772 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,33 @@ +{% extends theme_base %} + +{% block extra-body-args %} +{% block bodyargs %} +{% endblock %} +{% endblock %} + +{% block placeholder-content %} + {% block content %} + {% endblock %} +{% endblock %} + +{% block user-info %} + {% if user.is_authenticated %} + + {% if idp_account_url %}{% endif %} + {{user.first_name}} {{user.last_name}}{% if idp_account_url %}{% endif %} + Déconnexion + + {% endif %} +{% endblock %} + +{% block messages %} +{% if messages %} +
+ +
+{% endif %} +{% endblock %}