Retrospring/app/views/notifications/_notification_nav.html.haml

16 lines
1014 B
Plaintext
Raw Normal View History

%nav.navbar.navbar-default.navbar-static-top.j2-navbar.d-block.d-sm-none{role: "navigation"}
2015-01-30 15:47:28 -08:00
.container
%a.navbar-brand{href: notifications_path} Notifications
%button.navbar-toggler{"data-target" => "#j2-tl-navbar-collapse", "data-toggle" => "collapse", type: "button"}
%span.sr-only Toggle navigation
%span.navbar-toggler-icon
2015-01-30 15:47:28 -08:00
#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')