From c307ba34e3de5ca610c5c4e57381a0bfc4c9b19e Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sun, 8 Dec 2024 18:07:10 +0100 Subject: keep url arguments for search combined with sort --- src/jwebmail/__init__.py | 2 +- src/jwebmail/templates/_top_nav.html | 23 +++++++++++++++-------- 2 files changed, 16 insertions(+), 9 deletions(-) (limited to 'src/jwebmail') diff --git a/src/jwebmail/__init__.py b/src/jwebmail/__init__.py index b54d0e2..762655a 100644 --- a/src/jwebmail/__init__.py +++ b/src/jwebmail/__init__.py @@ -36,7 +36,7 @@ else: toml_read_file = dict(load=toml_load, text=True) -__version__ = "2.8.1.dev1" +__version__ = "2.8.1.dev2" csrf = CSRFProtect() diff --git a/src/jwebmail/templates/_top_nav.html b/src/jwebmail/templates/_top_nav.html index 4c8bdb7..c94918c 100644 --- a/src/jwebmail/templates/_top_nav.html +++ b/src/jwebmail/templates/_top_nav.html @@ -1,17 +1,18 @@
-
- +
- +
+ {% if request.args.per_page %} + + {% endif %} + {% if request.args.sort %} + + {% endif %}
@@ -31,6 +32,12 @@
+ {% if request.args.per_page %} + + {% endif %} + {% if request.args.search %} + + {% endif %}
-- cgit v1.2.3