Retrospring/app/views/navigation/_moderation.haml

14 lines
857 B
Plaintext
Raw Normal View History

2020-05-10 13:27:39 -07:00
%nav.navbar.navbar-light.bg-light.navbar-static-top.j2-navbar.d-flex.d-sm-none{ role: :navigation }
2020-05-10 02:35:10 -07:00
%a.navbar-brand{ href: moderation_path } Moderation
%button.navbar-toggler{ data: { target: '#j2-tl-navbar-collapse', toggle: :collapse }, type: :button }
%span.sr-only Toggle navigation
%span.navbar-toggler-icon
2020-05-10 02:35:10 -07:00
.collapse.navbar-collapse#j2-tl-navbar-collapse
%ul.nav.navbar-nav
= nav_entry t('views.moderation.tabs.all'), moderation_path
2020-05-10 02:35:10 -07:00
= nav_entry t('views.general.answer').pluralize(2), moderation_path('answer')
= nav_entry t('views.general.comment').pluralize(2), moderation_path('comment')
= nav_entry t('views.general.user').pluralize(2), moderation_path('user')
= nav_entry t('views.general.question').pluralize(2), moderation_path('question')
= nav_entry 'Priority', moderation_priority_path