1 {% extends '@RapsysAir/base.html.twig' %}
3 <meta charset="UTF-8" />
5 {% block stylesheets %}
6 <meta name="viewport" content="width=device-width, initial-scale=1" />
7 {% if description is defined and description %}
8 <meta name="description" content="{{ description }}" />
10 {% if keywords is defined and keywords %}
11 <meta name="keywords" content="{{ keywords|join(', ') }}" />
13 <link rel="shortcut icon" type="image/x-icon" href="{{ asset(site.ico) }}" />
14 <link rel="icon" type="image/svg+xml" href="{{ asset(site.svg) }}" />
15 {% for size, icon in site.png %}
17 {% if size in [152, 167, 180] %}
19 <link rel="apple-touch-icon" href="{{ asset(icon) }}" />
21 <link rel="apple-touch-icon" sizes="{{ size }}x{{ size }}" href="{{ asset(icon) }}" />
23 {% elseif size in [70, 150, 310] %}
24 <meta name="msapplication-square{{ size }}x{{ size }}logo" content="{{ asset(icon) }}" />
27 <link rel="icon" type="image/png" sizes="{{ size }}x{{ size }}" href="{{ asset(icon) }}" />
30 {# stylesheet '//fonts.googleapis.com/css?family=Irish+Grover' '//fonts.googleapis.com/css?family=La+Belle+Aurore' '@RapsysAirBundle/Resources/public/css/{reset,screen}.css' #}
31 {% stopwatch 'stylesheet' %}
32 {% stylesheet '@rapsys_air_bundle/css/{reset,droidsans,screen}.css' %}
33 <link rel="stylesheet" type="text/css" href="{{ asset_url }}" />
36 {% if canonical is defined and canonical %}
37 <link rel="canonical" href="{{ canonical }}" />
39 {% if alternates is defined and alternates %}
40 {% for alternate in alternates %}
41 <link rel="alternate" href="{{ alternate.absolute }}" hreflang="{{ alternate.lang }}" />
45 {% block javascripts %}
46 {% stopwatch 'javascript' %}
47 {#{% javascript '@RapsysAir/js/*.js' %}
48 <script type="text/javascript" src="{{ asset_url }}"></script>
52 {% block title %}{{ title }}{% endblock %}
56 {% block header_title %}<h1><a href="{{ site.url }}" title="{{ site.title }}"><img src="{{ asset(site.logo) }}" alt="{{ site.title }}" width="171" height="32" /></a></h1>{% endblock %}
57 {% block header_nav %}
59 <h2>{% trans %}Navigation{% endtrans %}</h2>
61 <li><a href="{{ path('rapsys_air_contact') }}">{% trans %}Contact{% endtrans %}</a></li>
62 <li><a href="{{ path('rapsys_air_terms_of_service') }}">{% trans %}Terms of service{% endtrans %}</a></li>
63 <li><a href="{{ path('rapsys_air_organizer_regulation') }}">{% trans %}Organizer regulation{% endtrans %}</a></li>
64 <li><a href="{{ path('rapsys_air_organizer') }}">{% trans %}Organizers{% endtrans %}</a></li>
65 {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
66 <li><a href="{{ path('rapsys_user_logout') }}">{% trans %}Logout{% endtrans %}</a></li>
68 <li><a href="{{ path('rapsys_user_login') }}">{% trans %}Login{% endtrans %}</a></li>
69 <li><a href="{{ path('rapsys_user_register') }}">{% trans %}Register{% endtrans %}</a></li>
75 {% block site_subtitle %}{% endblock %}
76 {% block site_tagline %}
77 {% if tags is defined and tags %}
79 {% for id, tag in tags %}
80 <li><h2><a href="#{{id}}">{{tag}}</a></h2></li>
89 {# pass an array argument to get the messages of those types (['warning', 'error']) #}
90 {% for label, messages in app.flashes %}
92 <div class="message {{label}}">
94 {% for message in messages %}
95 <li>{{ message }}</li>
103 {% block sidebar %}<aside id="sidebar"></aside>{% endblock %}
106 <section id="content">
107 <h2><a href="{{ path('rapsys_air_homepage') }}">{{ section }}</a></h2>
108 <p>{% trans %}Outdoor space reservation system{% endtrans %}</p>
114 <details><summary>{{ copy.long }}</summary><span>{{ copy.short }}</span></details>
115 {% if alternates is defined and alternates %}
117 {% for alternate in alternates %}
118 <li><a href="{{ alternate.relative }}" hreflang="{{ alternate.lang }}" title="{{ alternate.title }}">{{ alternate.translated }}</a></li>