From 9831441f5c63b1c06449c63c40eb1e9eb745905b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 14 Oct 2020 04:19:45 +0200 Subject: [PATCH 1/1] Fix title Fix route name Move common template to toolbox --- Resources/views/location/index.html.twig | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/Resources/views/location/index.html.twig b/Resources/views/location/index.html.twig index ca51431..2ecfaa7 100644 --- a/Resources/views/location/index.html.twig +++ b/Resources/views/location/index.html.twig @@ -1,7 +1,7 @@ {% extends '@RapsysAir/body.html.twig' %} {% block content %} -
-

{% trans %}Dashboard{% endtrans %}

+
+

{% trans %}Locations{% endtrans %}

{% if calendar is defined and calendar %} @@ -14,7 +14,7 @@ @@ -29,16 +29,7 @@
{% endif %} - {# Display application or login form #} - {% if is_granted('ROLE_GUEST') %} -
- {{ include('@RapsysAir/form/_application.html.twig') }} -
- {% elseif not is_granted('IS_AUTHENTICATED_REMEMBERED') %} -
- {{ include('@RapsysAir/form/_login.html.twig') }} -
- {% endif %} + {{ include('@RapsysAir/form/_toolbox.html.twig') }}
{# dump(calendar) #}
-- 2.41.1