Add notification count inside a badge on the notification link.
Signed-off-by: Eric Riggs <ericriggs42@gmail.com>
This commit is contained in:
committed by
Roberto Rosario
parent
ee75f0e92d
commit
6aca0cd874
@@ -70,7 +70,7 @@ link_user_events = Link(
|
||||
link_user_notifications_list = Link(
|
||||
html_data={
|
||||
'apw-attribute': 'count', 'apw-interval': '5000',
|
||||
'apw-url': '/api/notifications/'
|
||||
}, icon='fa fa-bell', text=get_notification_count,
|
||||
view='events:user_notifications_list'
|
||||
'apw-url': '/api/notifications/',
|
||||
'apw-callback': 'App.mayanNotificationBadge'
|
||||
}, icon='fa fa-bell', text='', view='events:user_notifications_list'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user