]> git.agnieray.net Git - galette.git/blob - galette/templates/default/elements/navigation/navigation_topbar.html.twig
81a021799f8c5f3283fcc47c3d753a1a36865c52
[galette.git] / galette / templates / default / elements / navigation / navigation_topbar.html.twig
1 <header id="top-navbar" class="ui top fixed menu">
2 <div class="ui fluid container">
3 <a class="toc item" tabindex="0">
4 <i class="sidebar icon" aria-hidden="true"></i>
5 <span class="displaynone">{{ _T("Menu") }}</span>
6 </a>
7 {% if login.isLogged() and (cur_route != 'mailing' and existing_mailing == true) %}
8 <a
9 id="recup_mailing"
10 href="{{ url_for("mailing") }}"
11 class="ui blue tooltip item"
12 title="{{ _T("A mailing exists in the current session. Click here if you want to resume or cancel it.") }}"
13 data-position="bottom right"
14 >
15 <i class="paper plane outline blue icon" aria-hidden="true"></i>
16 <span class="displaynone">{{ _T("Existing mailing") }}</span>
17 </a>
18 {% endif %}
19 <div class="header item">
20 <img src="{{ url_for("logo") }}" width="{{ logo.getOptimalWidth() }}" height="{{ logo.getOptimalHeight() }}" alt="[ Galette ]" class="logo" />
21 <span>{{ preferences.pref_nom }}</span>
22 </div>
23
24 {% include "elements/navigation/public_pages.html.twig" with {
25 tips_position: "bottom center",
26 sign_in: true,
27 sign_in_side: 'right',
28 mode: "default"
29 } %}
30
31 {% include "elements/language.html.twig" with {
32 ui: "dropdown"
33 } %}
34
35 {% if callstatic('\\Galette\\Core\\Galette', 'isDemo') %}
36 <div class="item">
37 {% include "elements/modes.html.twig" %}
38 </div>
39 {% endif %}
40 </div>
41 </header>