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.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jwebmail/templates/_folders.html b/src/jwebmail/templates/_folders.html
index fc4c21d..884188b 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 or gettext('Home') }}</b>
+ <b>{{ request.view_args.folder or gettext('Home') }}</b>
</span>
<a role="button" class="navbar-burger" data-target="navMenu" id=navbar-toggle>
<span aria-hidden="true"></span>
@@ -16,7 +16,7 @@
<div class="navbar-menu" id="navMenu">
<div class=navbar-start>
- {% for f in mail_folders if f is ne folder %}
+ {% for f in mail_folders if f is ne request.view_args.get('folder', '') %}
<a href="{{ url_for('displayheaders', folder=f, per_page=request.args.get('per_page')) }}" class="navbar-item">
{{ f or gettext('Home') }}
</a>
@@ -34,7 +34,7 @@
<div class="column is-size-7">
<div class="columns is-multiline is-mobile">
<span class="column is-half-mobile has-text-centered">
- {{ pgn.info }}
+ {{ total_mails }} Mails
</span>
{% if total_new_mails %}
<span class="column is-half-mobile has-text-centered">