diff options
Diffstat (limited to 'templates/notification.tmpl')
-rw-r--r-- | templates/notification.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/notification.tmpl b/templates/notification.tmpl index b1855a6..227bc57 100644 --- a/templates/notification.tmpl +++ b/templates/notification.tmpl @@ -3,7 +3,9 @@ <div class="notification-title-container"> <div class="notification-title"> Notifications - {{if gt .UnreadCount 0}}({{.UnreadCount }}){{end}} + {{if and (not $.Ctx.AntiDopamineMode) (gt .UnreadCount 0)}} + ({{.UnreadCount }}) + {{end}} </div> <a class="notification-refresh" href="/notifications" target="_self">refresh</a> {{if .ReadID}} |