Add feedback links to navigation

This commit is contained in:
Andreas Nedbal 2022-01-22 09:14:15 +01:00 committed by Andreas Nedbal
parent 4e9f83330b
commit 3bd43f1cf2
2 changed files with 16 additions and 0 deletions

View File

@ -32,6 +32,14 @@
%i.fa.fa-fw.fa-gavel
= t('views.navigation.moderation')
.dropdown-divider
%h6.dropdown-header.d-none.d-sm-block Feedback
%a.dropdown-item{ href: feedback_features_path }
%i.fa.fa-fw.fa-flask
Feature Requests
%a.dropdown-item{ href: feedback_bugs_path }
%i.fa.fa-fw.fa-bug
Bugs
.dropdown-divider
= button_to destroy_user_session_path, method: 'delete', class: 'dropdown-item' do
%i.fa.fa-fw.fa-sign-out
= t 'views.sessions.destroy'

View File

@ -26,6 +26,14 @@
%i.fa.fa-fw.fa-gavel
= t('views.navigation.moderation')
.dropdown-divider
%h6.dropdown-header.d-none.d-sm-block Feedback
%a.dropdown-item{ href: feedback_features_path }
%i.fa.fa-fw.fa-flask
Feature Requests
%a.dropdown-item{ href: feedback_bugs_path }
%i.fa.fa-fw.fa-bug
Bugs
.dropdown-divider
= button_to destroy_user_session_path, method: 'delete', class: 'dropdown-item' do
%i.fa.fa-fw.fa-sign-out
= t 'views.sessions.destroy'