From b0e9dff453781a4ea03cd643dae79e9cf554b0c5 Mon Sep 17 00:00:00 2001 From: Wolfgang Knopki Date: Fri, 13 Nov 2020 13:50:25 +0100 Subject: [PATCH] admin field, global css Login-clean --- mymodule/themes/fancytheme/core/loginuserpass.twig | 8 ++------ mymodule/themes/fancytheme/default/base.twig | 1 + 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/mymodule/themes/fancytheme/core/loginuserpass.twig b/mymodule/themes/fancytheme/core/loginuserpass.twig index db2943d..d7e745f 100644 --- a/mymodule/themes/fancytheme/core/loginuserpass.twig +++ b/mymodule/themes/fancytheme/core/loginuserpass.twig @@ -1,9 +1,5 @@ {% extends "@core/base.twig" %} -{% block preload %} - -{% endblock %} - {% block postload %} {% endblock %} @@ -20,8 +16,8 @@

Login Form

- {%- if 'admin' in app.request.query.get("AuthState") -%} -
+ {%- if 'admin' in attribute(queryParams, "AuthState") -%} +
{%- else -%}
{%- endif -%} diff --git a/mymodule/themes/fancytheme/default/base.twig b/mymodule/themes/fancytheme/default/base.twig index 16034b3..48f3bb7 100644 --- a/mymodule/themes/fancytheme/default/base.twig +++ b/mymodule/themes/fancytheme/default/base.twig @@ -8,6 +8,7 @@ + {% if isRTL %} -- GitLab