summaryrefslogtreecommitdiff
path: root/src/jwebmail/templates/_folders.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/jwebmail/templates/_folders.html')
-rw-r--r--src/jwebmail/templates/_folders.html17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/jwebmail/templates/_folders.html b/src/jwebmail/templates/_folders.html
index fd62ab2..e9509e7 100644
--- a/src/jwebmail/templates/_folders.html
+++ b/src/jwebmail/templates/_folders.html
@@ -5,7 +5,7 @@
<div class="navbar-brand">
<span class=navbar-item>
- <b>{{ folder }}</b>
+ <b>{{ folder or gettext('Home') }}</b>
</span>
<a role="button" class="navbar-burger" data-target="navMenu" id=navbar-toggle>
<span aria-hidden="true"></span>
@@ -26,16 +26,21 @@
</nav>
</div>
- <div class="column">
+ <nav class="column">
+ <a href="{{ url_for('logout') }}" class="button">{% trans %}Logout{% endtrans %}</a>
+ <a href="{{ url_for('write') }}" class="button">{% trans %}Write{% endtrans %}</a>
+ </nav>
+
+ <div class="column is-size-7">
<div class="columns is-multiline is-mobile">
<span class="column is-half-mobile has-text-centered">
{{ pgn.info }}
</span>
- <span class="column is-half-mobile has-text-centered">
- {% if total_new_mails %}
+ {% if total_new_mails %}
+ <span class="column is-half-mobile has-text-centered">
{% trans %}{{ total_new_mails }} new{% endtrans %}
- {% endif %}
- </span>
+ </span>
+ {% endif %}
<span class="column has-text-centered">
{% if total_size %}
{% trans %}mailbox size: {% endtrans %}