]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/body.html.twig
Fix typo in sizes and rel
[airbundle] / Resources / views / body.html.twig
index 452f70cbe0747b7eca80ae0331acf83b187f3b1e..4ef3142cef382d57cf1aba390ea5b5803c0bd08d 100644 (file)
@@ -5,7 +5,7 @@
 {% block stylesheets %}
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <link rel="shortcut icon" type="image/x-icon" href="{{ asset(site_ico) }}" />
-       <link ref="icon" type="image/svg+xml" href="{{ asset(site_svg) }}" />
+       <link rel="icon" type="image/svg+xml" href="{{ asset(site_svg) }}" />
        {% for size, icon in site_png %}
                {# Apple #}
                {% if size in [152, 167, 180] %}
                        <meta name="msapplication-square{{ size }}x{{ size }}logo" content="{{ asset(icon) }}" />
                {# Others #}
                {% else %}
-                       <link rel="icon" type="image/png" size="{{ size }}x{{ size }}" href="{{ asset(icon) }}" />
+                       <link rel="icon" type="image/png" sizes="{{ size }}x{{ size }}" href="{{ asset(icon) }}" />
                {% 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,irishgrover,labelleaurore,screen}.css' %}
-               <link rel="stylesheet" type="text/css" href="{{ asset_url }}" />
-       {% endstylesheet %}
+       {% stopwatch 'stylesheet' %}
+               {% stylesheet '@rapsys_air_bundle/css/{reset,droidsans,screen}.css' %}
+                       <link rel="stylesheet" type="text/css" href="{{ asset_url }}" />
+               {% endstylesheet %}
+       {% endstopwatch %}
 {% endblock %}
 {% block javascripts %}
-       {#{% javascript '@RapsysAir/js/*.js' %}
-               <script type="text/javascript" src="{{ asset_url }}"></script>
-       {% endjavascript %}#}
+       {% stopwatch 'javascript' %}
+               {#{% javascript '@RapsysAir/js/*.js' %}
+                       <script type="text/javascript" src="{{ asset_url }}"></script>
+               {% endjavascript %}#}
+       {% endstopwatch %}
 {% endblock %}
 {% block title %}{{ title }}{% endblock %}
 {% block body %}
                        {% block header_nav %}
                                <nav>
                                        <h2>{% trans %}Navigation{% endtrans %}</h2>
-                                       <a href="{{ path('rapsys_air_location') }}">{% trans %}Locations{% endtrans %}</a>
+                                       <a href="{{ path('rapsys_air_session') }}">{% trans %}Sessions{% endtrans %}</a>
                                        <a href="{{ path('rapsys_air_user') }}">{% trans %}Users{% endtrans %}</a>
                                        <a href="{{ path('rapsys_air_contact') }}">{% trans %}Contact{% endtrans %}</a>
-                                       <a href="{{ path('rapsys_air_policy') }}">{% trans %}Policy{% endtrans %}</a>
+                                       <a href="{{ path('rapsys_air_regulation') }}">{% trans %}Regulation{% endtrans %}</a>
                                        {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
                                                <a href="{{ path('rapsys_user_logout') }}">{% trans %}Logout{% endtrans %}</a>
                                        {% else %}