|
|
@ -18,15 +18,25 @@ |
|
|
|
{% block header_container %} |
|
|
|
{% block header_container %} |
|
|
|
<header> |
|
|
|
<header> |
|
|
|
{% block header_content %} |
|
|
|
{% block header_content %} |
|
|
|
<a href="{{ path('main_index') }}"> |
|
|
|
<div class="float-left"> |
|
|
|
<svg version="1.1" width="20" height="20" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 364.707 364.707" enable-background="new 0 0 364.707 364.707" xml:space="preserve"> |
|
|
|
{% if 'main_index' == request.get('_route') %} |
|
|
|
<path fill="currentColor" d="M223.864,272.729l-38.608-97.848l-56.603,89.184H93.166l79.052-127.654l-8.875-25.229h-30.781V81.12h52.691l60.521,153.899l26.608-8.668l8.867,29.813L223.864,272.729z"/> |
|
|
|
{{ 'Home' | trans }} |
|
|
|
<path fill="none" stroke="currentColor" stroke-width="34" d="M337.623,182.198c0,85.579-69.363,154.934-154.934,154.934c-85.571,0-154.936-69.354-154.936-154.934c0-85.569,69.363-154.933,154.936-154.933C268.259,27.265,337.623,96.629,337.623,182.198z"/> |
|
|
|
{% else %} |
|
|
|
</svg> |
|
|
|
<a href="{{ path('main_index') }}">{{ 'Home' | trans }}</a> |
|
|
|
</a> |
|
|
|
{% endif %} |
|
|
|
<h1 class="text-align-right padding-right-36-px"> |
|
|
|
{% for link in app.links | split(',') %} |
|
|
|
|
|
|
|
{% set a = link | split('|') %} |
|
|
|
|
|
|
|
{% if a.0 is defined and a.1 is defined %} |
|
|
|
|
|
|
|
• |
|
|
|
|
|
|
|
<a href="{{ a.1 }}" target="_blank">{{ a.0 }}</a> |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="float-right"> |
|
|
|
|
|
|
|
<strong> |
|
|
|
{{ app.name }} |
|
|
|
{{ app.name }} |
|
|
|
</h1> |
|
|
|
</strong> |
|
|
|
|
|
|
|
</div> |
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
</header> |
|
|
|
</header> |
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|