tips_position: "right center",
sign_in: true
} %}
-
+{% else %}
+ {% include "elements/navigation/navigation_items.html.twig" %}
+{% endif %}
{% include "elements/language.html.twig" with {
ui: "item"
} %}
-{% else %}
- {% include "elements/navigation/navigation_items.html.twig" %}
-
+{% if login.isLogged() %}
{% include "elements/logout.html.twig" with {
ui: "item"
} %}
<a class="toc item">
<i class="sidebar icon"></i>
</a>
+ {% if login.isLogged() and (cur_route != 'mailing' and existing_mailing == true) %}
+ <a
+ id="recup_mailing"
+ href="{{ url_for("mailing") }}"
+ class="ui blue tooltip item"
+ title="{{ _T("A mailing exists in the current session. Click here if you want to resume or cancel it.") }}"
+ data-position="bottom right"
+ >
+ <i class="paper plane outline blue icon"></i>
+ <span class="displaynone">{{ _T("Existing mailing") }}</span>
+ </a>
+ {% endif %}
<div class="header item">
<img src="{{ url_for("logo") }}" width="{{ logo.getOptimalWidth() }}" height="{{ logo.getOptimalHeight() }}" alt="[ Galette ]" class="logo" />
<span>{{ preferences.pref_nom }}</span>
}
.ui.fixed.menu + .pusher {
- padding-top: 4rem;
+ padding-top: 3.8rem;
}
-aside.toc {
+aside.toc,
+.ui.segments.header .compact.segment.right {
display: none;
}
}
@media only screen and (max-width: 991px) {
- #top-navbar .item:not(.header):not(.toc) {
+ #top-navbar .item:not(.header):not(.toc):not(#recup_mailing) {
display: none;
}
.sidebar.uncover + .fixed.menu .toc i::before {
}
}
+ .ui.segments.header .compact.segment.right {
+ display: block;
+ }
+
body:not(.front-page) section.content {
margin-left: 260px;
flex: 1 1 auto;