mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 22:09:07 +01:00
ede3ad1b92
- Add display of content that was replied to/with - Instead of marking notifications new, only show new items and hide seen entries - Add a 'New Notifications' page and set it as default - Add proper display if there are no new notifications - Adjust theme to fit new changes
18 lines
1 KiB
Text
18 lines
1 KiB
Text
%nav.navbar.navbar-default.navbar-static-top.j2-navbar.visible-xs{role: "navigation"}
|
|
.container
|
|
.navbar-header
|
|
%button.navbar-toggle{"data-target" => "#j2-tl-navbar-collapse", "data-toggle" => "collapse", type: "button"}
|
|
%span.sr-only Toggle navigation
|
|
%span.icon-bar
|
|
%span.icon-bar
|
|
%span.icon-bar
|
|
%a.navbar-brand{href: notifications_path} Notifications
|
|
#j2-tl-navbar-collapse.collapse.navbar-collapse
|
|
%ul.nav.navbar-nav
|
|
= nav_entry "New Notifications", notifications_path
|
|
= nav_entry "All Notifications", notifications_path('all')
|
|
= nav_entry t('views.notifications.tabs.answer'), notifications_path('answer')
|
|
= nav_entry t('views.notifications.tabs.smile'), notifications_path('smile')
|
|
= nav_entry t('views.notifications.tabs.comment'), notifications_path('comment')
|
|
= nav_entry t('views.notifications.tabs.commentsmile'), notifications_path('commentsmile')
|
|
= nav_entry t('views.notifications.tabs.relationship'), notifications_path('relationship')
|