2022-07-06 16:14:10 -07:00
|
|
|
.card
|
2020-04-25 08:51:00 -07:00
|
|
|
.list-group
|
2022-07-06 16:14:10 -07:00
|
|
|
= list_group_item t(".new"), notifications_path, badge: Notification.for(current_user).where(new: true).count
|
|
|
|
= list_group_item t(".all"), notifications_path('all')
|
2020-04-25 08:51:00 -07:00
|
|
|
|
2022-07-06 16:14:10 -07:00
|
|
|
.card
|
2020-04-25 08:51:00 -07:00
|
|
|
.card-header
|
|
|
|
Filter by Type
|
|
|
|
.list-group
|
2022-07-06 16:14:10 -07:00
|
|
|
= list_group_item t('.answer'),
|
2020-05-10 00:25:34 -07:00
|
|
|
notifications_path('answer'),
|
2023-02-01 15:55:31 -08:00
|
|
|
badge: @counters['Answer']
|
2022-07-06 16:14:10 -07:00
|
|
|
= list_group_item t('.smile'),
|
2020-05-10 00:25:34 -07:00
|
|
|
notifications_path('smile'),
|
2023-02-01 15:55:31 -08:00
|
|
|
badge: @counters['Smile']
|
2022-07-06 16:14:10 -07:00
|
|
|
= list_group_item t('.comment'),
|
2020-05-10 00:25:34 -07:00
|
|
|
notifications_path('comment'),
|
2023-02-01 15:55:31 -08:00
|
|
|
badge: @counters['Comment']
|
2022-07-06 16:14:10 -07:00
|
|
|
= list_group_item t('.commentsmile'),
|
2020-05-10 00:25:34 -07:00
|
|
|
notifications_path('commentsmile'),
|
2023-02-01 15:55:31 -08:00
|
|
|
badge: @counters['CommentSmile']
|
2022-07-06 16:14:10 -07:00
|
|
|
= list_group_item t('.relationship'),
|
2020-05-10 00:25:34 -07:00
|
|
|
notifications_path('relationship'),
|
2023-02-01 15:55:31 -08:00
|
|
|
badge: @counters['Relationship']
|
2020-04-26 14:54:02 -07:00
|
|
|
|
2020-05-10 00:25:34 -07:00
|
|
|
.d-none.d-sm-block= render 'shared/links'
|