+1
-1
appview/pages/templates/layouts/fragments/topbar.html
+1
-1
appview/pages/templates/layouts/fragments/topbar.html
+1
-1
appview/pages/templates/notifications/fragments/bell.html
+1
-1
appview/pages/templates/notifications/fragments/bell.html
+5
-5
appview/pages/templates/notifications/fragments/count.html
+5
-5
appview/pages/templates/notifications/fragments/count.html
···
1
{{define "notifications/fragments/count"}}
2
-
{{if and .Count (gt .Count 0)}}
3
-
<span class="absolute -top-1 -right-0.5 min-w-[16px] h-[16px] px-1 bg-red-500 text-white text-xs font-medium rounded-full flex items-center justify-center">
4
-
{{if gt .Count 99}}99+{{else}}{{.Count}}{{end}}
5
-
</span>
6
-
{{end}}
7
{{end}}
···
1
{{define "notifications/fragments/count"}}
2
+
{{if and .Count (gt .Count 0)}}
3
+
<span class="absolute -top-1.5 -right-0.5 min-w-[16px] h-[16px] px-1 bg-red-500 text-white text-xs font-medium rounded-full flex items-center justify-center">
4
+
{{if gt .Count 99}}99+{{else}}{{.Count}}{{end}}
5
+
</span>
6
+
{{end}}
7
{{end}}
+1
-1
appview/repo/repo.go
+1
-1
appview/repo/repo.go