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