diff --git a/kallithea/templates/admin/notifications/notifications_data.html b/kallithea/templates/admin/notifications/notifications_data.html --- a/kallithea/templates/admin/notifications/notifications_data.html +++ b/kallithea/templates/admin/notifications/notifications_data.html @@ -9,20 +9,19 @@ unread = lambda n:{False:'unread'}.get(n
${h.gravatar_div(notification.notification.created_by_user.email, size=24)} - - + %if not notification.read: -
+ -
+ %endif
-
+
%endfor diff --git a/kallithea/templates/admin/notifications/show_notification.html b/kallithea/templates/admin/notifications/show_notification.html --- a/kallithea/templates/admin/notifications/show_notification.html +++ b/kallithea/templates/admin/notifications/show_notification.html @@ -25,18 +25,18 @@
${h.gravatar_div(c.notification.created_by_user.email, size=24)} -
+ ${c.notification.description} -
-
+ + -
+
-
${h.literal(c.notification.subject)}
- %if c.notification.body: - ${h.render_w_mentions(c.notification.body)} - %endif +
${h.literal(c.notification.subject)}
+ %if c.notification.body: + ${h.render_w_mentions(c.notification.body)} + %endif