templates/Support/base.html.twig line 1

Open in your IDE?
  1. {% trans_default_domain 'support' %}
  2. {% if app.request.headers.get('Host') == domain_postman_support %}
  3.     {% set domainTitle = 'Superpošťák.cz' %}
  4. {% elseif app.request.headers.get('Host') == domain_delivery_support %}
  5.     {% set domainTitle = 'Supervýdejny.cz' %}
  6. {% endif %}
  7. <!DOCTYPE html>
  8. <html>
  9.     <head>
  10.         <meta charset="UTF-8">
  11.         <title>{{ domainTitle }} - {% block title %}{% trans %}Backend{% endtrans %}{% endblock %}</title>
  12.         <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('build/support/img/favicon-32x32.png') }}">
  13.         <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('build/support/img/favicon-16x16.png') }}">
  14.         <link rel="shortcut icon" href="{{ asset('build/support/img/favicon.ico') }}">
  15.         {% block stylesheets %}
  16.             {{ encore_entry_link_tags('support/main') }}
  17.         {% endblock %}
  18.     </head>
  19.     <body class="c-app">
  20.         {% include '/Support/Layout/sidebar.html.twig' %}
  21.         <div class="c-wrapper c-wrapper-md-fixed">
  22.             {% include '/Support/Layout/content_header.html.twig' %}
  23.             <div class="c-body">
  24.                 <main class="c-main">
  25.                     <div class="container-fluid">
  26.                         <div class="row justify-content-center">
  27.                             {% include '/Support/Layout/flash_message_blok.html.twig' %}
  28.                             <div class="{{ contentClass|default('col-12') }}">
  29.                                 {% block content %}
  30.                                 {% endblock %}
  31.                             </div>
  32.                         </div>
  33.                     </div>
  34.                 </main>
  35.             </div>
  36.         </div>
  37.         {% block javascripts %}
  38.             {{ encore_entry_script_tags('support/main') }}
  39.             {{ encore_entry_script_tags('support/init-tooltips') }}
  40.             {% if app.environment == 'prod' %}
  41.                 {{ encore_entry_script_tags('support/smartlook-support') }}
  42.             {% endif %}
  43.         {% endblock %}
  44.     </body>
  45. </html>