From: Raphaƫl Gertz Date: Wed, 14 Oct 2020 02:19:45 +0000 (+0200) Subject: Fix title X-Git-Tag: 0.1.1~2 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/9831441f5c63b1c06449c63c40eb1e9eb745905b?ds=sidebyside;hp=5cc186864a5130732bdde967e5b43d80e80684e4 Fix title Fix route name Move common template to toolbox --- 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) #}