X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/1523b8f3537a7e367f2c536efbb11cd34358656b..63cdd661ae1b4a110081ce764c5838ea11727546:/Resources/views/body.html.twig?ds=inline diff --git a/Resources/views/body.html.twig b/Resources/views/body.html.twig index d2c8224..10630ff 100644 --- a/Resources/views/body.html.twig +++ b/Resources/views/body.html.twig @@ -11,8 +11,8 @@ {% endif %} {% if site is defined and site %} - - + + {% for size, icon in site.png %} {# Apple #} {% if size in [120, 152, 167, 180] %} @@ -31,8 +31,8 @@ {% endif %} {# stylesheet '//fonts.googleapis.com/css?family=Irish+Grover' '//fonts.googleapis.com/css?family=La+Belle+Aurore' '@RapsysAirBundle/Resources/public/css/{reset,screen}.css' #} {% stopwatch 'stylesheet' %} - {% stylesheet '@rapsys_air_bundle/css/{reset,droidsans,screen}.css' %} - + {% stylesheet '@rapsys_air_bundle/css/{reset,droidsans,lemon,notoemoji,screen}.css' %} + {% endstylesheet %} {% endstopwatch %} {% if canonical is defined and canonical %} @@ -66,33 +66,34 @@ {% block body %} {% block header %} - {% if site is defined and site %} - {% block header_title %}{% endblock %} - {% endif %} + + {% if site is defined and site %} + {% block header_title %}{{ site.title }}{% endblock %} + {% endif %} + {{ title }} + {% block header_nav %} - - {% trans %}Navigation{% endtrans %} - - {% trans %}Home{% endtrans %} - {% trans %}Contact{% endtrans %} - {% trans %}Frequently asked questions{% endtrans %} + + {#{% trans %}Navigation{% endtrans %}#} + {% trans %}Home{% endtrans %} + {% trans %}Contact{% endtrans %} + {% trans %}Frequently asked questions{% endtrans %} {% if is_granted('ROLE_ADMIN') %} - {% trans %}Users{% endtrans %} + {% trans %}Users{% endtrans %} {% endif %} {% if is_granted('ROLE_GUEST') %} - {% trans %}Organizer regulation{% endtrans %} + {% trans %}Organizer regulation{% endtrans %} {% endif %} {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %} - {% trans %}My account{% endtrans %} - {% trans %}Logout{% endtrans %} + {% trans %}My account{% endtrans %} + {% trans %}Logout{% endtrans %} {% else %} - {% trans %}Login{% endtrans %} - {% trans %}Register{% endtrans %} + {% trans %}Login{% endtrans %} + {% trans %}Register{% endtrans %} {% endif %} - {% endblock %} -{# + {# {% block site_subtitle %}{% endblock %} {% block site_tagline %} {% if tags is defined and tags %} @@ -103,7 +104,7 @@ {% endif %} {% endblock %} -#} + #} {% endblock %} {% block message %} @@ -124,10 +125,11 @@ {% block sidebar %}{% endblock %} #} {% block content %} - - {{ section }} - {% trans %}Outdoor space reservation system{% endtrans %} - + + + {% trans %}Outdoor space reservation system{% endtrans %} + + {% endblock %} {% block footer %}
{% trans %}Outdoor space reservation system{% endtrans %}