From 3dbbe31ddc43dadbde22d27988935650585f1612 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 11 Dec 2019 05:29:13 +0100 Subject: [PATCH 1/1] Rename policy in regulation Add timeline watcher for rapsys_pack's stylesheet and javascript tags --- Resources/views/body.html.twig | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/Resources/views/body.html.twig b/Resources/views/body.html.twig index fbfefbe..f551bc9 100644 --- a/Resources/views/body.html.twig +++ b/Resources/views/body.html.twig @@ -22,14 +22,18 @@ {% endif %} {% endfor %} {# stylesheet '//fonts.googleapis.com/css?family=Irish+Grover' '//fonts.googleapis.com/css?family=La+Belle+Aurore' '@RapsysAirBundle/Resources/public/css/{reset,screen}.css' #} - {% stylesheet '@rapsys_air_bundle/css/{reset,droidsans,screen}.css' %} - - {% endstylesheet %} + {% stopwatch 'stylesheet' %} + {% stylesheet '@rapsys_air_bundle/css/{reset,droidsans,screen}.css' %} + + {% endstylesheet %} + {% endstopwatch %} {% endblock %} {% block javascripts %} - {#{% javascript '@RapsysAir/js/*.js' %} - - {% endjavascript %}#} + {% stopwatch 'javascript' %} + {#{% javascript '@RapsysAir/js/*.js' %} + + {% endjavascript %}#} + {% endstopwatch %} {% endblock %} {% block title %}{{ title }}{% endblock %} {% block body %} @@ -42,7 +46,7 @@ {% trans %}Locations{% endtrans %} {% trans %}Users{% endtrans %} {% trans %}Contact{% endtrans %} - {% trans %}Policy{% endtrans %} + {% trans %}Regulation{% endtrans %} {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %} {% trans %}Logout{% endtrans %} {% else %} -- 2.41.1