adjust count mechanism.
This commit is contained in:
@@ -33,10 +33,10 @@
|
|||||||
<a class="nav-link text-dark" href="#" id="notificationDropdown" role="button" data-bs-toggle="dropdown"
|
<a class="nav-link text-dark" href="#" id="notificationDropdown" role="button" data-bs-toggle="dropdown"
|
||||||
aria-expanded="false">
|
aria-expanded="false">
|
||||||
<i class="bi bi-bell fs-5 position-relative">
|
<i class="bi bi-bell fs-5 position-relative">
|
||||||
{{ if gt (intVal .NotificationCount) 0 }}
|
{{ if gt ( .NotificationCount) 0 }}
|
||||||
<span
|
<span
|
||||||
class="position-absolute top-0 start-0 translate-middle badge rounded-pill bg-warning text-dark badge-small">
|
class="position-absolute top-0 start-0 translate-middle badge rounded-pill bg-warning text-dark badge-small">
|
||||||
{{ if gt (intVal .NotificationCount) 15 }}15+{{ else }}{{ .NotificationCount }}{{ end }}
|
{{ if gt (.NotificationCount) 15 }}15+{{ else }}{{ .NotificationCount }}{{ end }}
|
||||||
</span>
|
</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</i>
|
</i>
|
||||||
|
|||||||
Reference in New Issue
Block a user