2015-08-28 07:29:02 -07:00
|
|
|
.col-md-3.col-xs-12.col-sm-4
|
2020-04-19 14:31:24 -07:00
|
|
|
.card.hidden-xs
|
2015-04-19 07:49:53 -07:00
|
|
|
.list-group
|
2015-09-16 13:18:40 -07:00
|
|
|
= list_group_item "New Notifications", notifications_path, badge: Notification.for(current_user).where(new: true).count
|
|
|
|
= list_group_item "All Notifications", notifications_path('all')
|
|
|
|
|
2020-04-19 14:31:24 -07:00
|
|
|
.card.hidden-xs
|
2020-04-19 14:09:41 -07:00
|
|
|
.card-header
|
2015-09-16 13:18:40 -07:00
|
|
|
Filter by Type
|
|
|
|
.list-group
|
2015-06-06 16:28:10 -07:00
|
|
|
= list_group_item t('views.notifications.tabs.answer'), notifications_path('answer'), badge: Notification.for(current_user).where(target_type: "Answer", new: true).count
|
|
|
|
= list_group_item t('views.notifications.tabs.smile'), notifications_path('smile'), badge: Notification.for(current_user).where(target_type: "Smile", new: true).count
|
|
|
|
= list_group_item t('views.notifications.tabs.comment'), notifications_path('comment'), badge: Notification.for(current_user).where(target_type: "Comment", new: true).count
|
|
|
|
= list_group_item t('views.notifications.tabs.commentsmile'), notifications_path('commentsmile'), badge: Notification.for(current_user).where(target_type: "CommentSmile", new: true).count
|
|
|
|
= list_group_item t('views.notifications.tabs.relationship'), notifications_path('relationship'), badge: Notification.for(current_user).where(target_type: "Relationship", new: true).count
|