diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-12-08 14:10:03 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-12-08 14:10:03 +0100 |
commit | 84b3abd254b737f92e80cc1c154b8942d1610715 (patch) | |
tree | a5663ecf5b6790b0eab36cfae24a80d53326e9c7 /src | |
parent | 410dc24e16b5a9aef0b8e60ec53594c368288a30 (diff) |
fix unread tag
Diffstat (limited to 'src')
-rw-r--r-- | src/jwebmail/__init__.py | 2 | ||||
-rw-r--r-- | src/jwebmail/templates/_main_table.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/jwebmail/__init__.py b/src/jwebmail/__init__.py index 0298467..206c1b2 100644 --- a/src/jwebmail/__init__.py +++ b/src/jwebmail/__init__.py @@ -34,7 +34,7 @@ else: toml_read_file = dict(load=toml_load, text=True) -__version__ = "2.1.0.dev0" +__version__ = "2.1.0.dev1" def validate_config(app): diff --git a/src/jwebmail/templates/_main_table.html b/src/jwebmail/templates/_main_table.html index b331087..29e8eee 100644 --- a/src/jwebmail/templates/_main_table.html +++ b/src/jwebmail/templates/_main_table.html @@ -2,7 +2,7 @@ {% for msg in msgs %} - <tag class="media {{ jwm-new-mail if msg.unread else '' }}" id="{{ msg.message_handle }}"> + <tag class="media {{ 'jwm-new-mail' if msg.unread else '' }}" id="{{ msg.message_handle }}"> <div class="media-left is-hidden-mobile"> {{ loop.index + (pgn.page - 1) * pgn.per_page }} </div> |