Added notification count badge

This commit is contained in:
2018-02-28 16:26:49 +01:00
parent 6f01b654d3
commit fceec3f193
8 changed files with 80 additions and 3 deletions

View File

@ -11,8 +11,10 @@ component Sidebar(user *arn.User)
a.badge.left-badge.ajax(href="/settings")
RawIcon("cog")
a.badge.right-badge.ajax(href="/notifications")
a#notification-icon.badge.right-badge.ajax(href="/notifications")
RawIcon("bell")
a#notification-count.badge.right-badge.ajax.badge-important.hidden(href="/notifications") 0
//- Sidebar buttons
if user != nil