notification tab for comment smiles
This commit is contained in:
parent
8b88827a00
commit
65c852585d
|
@ -13,4 +13,5 @@
|
|||
= nav_entry "Answers", notifications_path('answer')
|
||||
= nav_entry "Smiles", notifications_path('smile')
|
||||
= nav_entry "Comments", notifications_path('comment')
|
||||
= nav_entry "Comment Smiles", notifications_path('commentsmile')
|
||||
= nav_entry "Followers", notifications_path('relationship')
|
|
@ -5,4 +5,5 @@
|
|||
= list_group_item "Answers", notifications_path('answer'), badge: Notification.for(current_user).where(target_type: "Answer", new: true).count
|
||||
= list_group_item "Smiles", notifications_path('smile'), badge: Notification.for(current_user).where(target_type: "Smile", new: true).count
|
||||
= list_group_item "Comments", notifications_path('comment'), badge: Notification.for(current_user).where(target_type: "Comment", new: true).count
|
||||
= list_group_item "Comment Smiles", notifications_path('commentsmile'), badge: Notification.for(current_user).where(target_type: "CommentSmile", new: true).count
|
||||
= list_group_item "Followers", notifications_path('relationship'), badge: Notification.for(current_user).where(target_type: "Relationship", new: true).count
|
||||
|
|
Loading…
Reference in New Issue