notification tab for comment smiles

This commit is contained in:
Yuki 2015-05-05 02:40:54 +05:30
parent 8b88827a00
commit 65c852585d
2 changed files with 3 additions and 1 deletions

View File

@ -13,4 +13,5 @@
= nav_entry "Answers", notifications_path('answer') = nav_entry "Answers", notifications_path('answer')
= nav_entry "Smiles", notifications_path('smile') = nav_entry "Smiles", notifications_path('smile')
= nav_entry "Comments", notifications_path('comment') = nav_entry "Comments", notifications_path('comment')
= nav_entry "Comment Smiles", notifications_path('commentsmile')
= nav_entry "Followers", notifications_path('relationship') = nav_entry "Followers", notifications_path('relationship')

View File

@ -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 "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 "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 "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 = list_group_item "Followers", notifications_path('relationship'), badge: Notification.for(current_user).where(target_type: "Relationship", new: true).count