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

19 lines
1.0 KiB
Plaintext

%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')