aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-02-26 10:27:17 +0000
committerr <r@freesoftwareextremist.com>2020-02-26 10:27:17 +0000
commita57a142328f02908419854e90099bcd275a1f606 (patch)
tree21b99a1554da214345b96b61246c5dde3e72bcef /templates
parent4ac5022cf1aa80e633f3fd0b6fe8d4515110720e (diff)
downloadbloat-a57a142328f02908419854e90099bcd275a1f606.tar.gz
bloat-a57a142328f02908419854e90099bcd275a1f606.zip
Add notification count in page title
Diffstat (limited to 'templates')
-rw-r--r--templates/header.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/header.tmpl b/templates/header.tmpl
index ca2986d..8e67353 100644
--- a/templates/header.tmpl
+++ b/templates/header.tmpl
@@ -13,7 +13,7 @@
{{if .AutoRefresh}}
<meta http-equiv="refresh" content="30">
{{end}}
- <title>{{.Title}}</title>
+ <title> {{if gt .Count 0}}({{.Count}}){{end}} {{.Title}} </title>
<link rel="stylesheet" href="/static/style.css">
{{if .CustomCSS}}
<link rel="stylesheet" href="{{.CustomCSS}}">