pull/8023/head
birthe 5 years ago
commit d19e8458bd
  1. 3
      app/helpers/project_settings_helper.rb
  2. 1
      config/initializers/menus.rb
  3. 2
      modules/backlogs/lib/open_project/backlogs/patches/project_settings_helper_patch.rb

@ -60,7 +60,8 @@ module ProjectSettingsHelper
{ {
name: 'categories', name: 'categories',
action: { controller: '/project_settings/categories', action: 'show' }, action: { controller: '/project_settings/categories', action: 'show' },
label: :label_work_package_category_plural label: :label_work_package_category_plural,
last: true
}, },
{ {
name: 'repository', name: 'repository',

@ -372,6 +372,7 @@ Redmine::MenuManager.map :project_menu do |menu|
node[:action], node[:action],
caption: node[:label], caption: node[:label],
parent: :settings, parent: :settings,
last: node[:last],
if: node[:if] if: node[:if]
end end
end end

@ -38,7 +38,7 @@ module OpenProject::Backlogs::Patches::ProjectSettingsHelperPatch
settings << { settings << {
name: :backlogs, name: :backlogs,
action: { controller: '/backlogs_settings', action: 'show' }, action: { controller: '/backlogs_settings', action: 'show' },
label: :'backlogs.backlog_settings', label: :label_backlogs,
if: ->(p) { p.module_enabled?('backlogs') } if: ->(p) { p.module_enabled?('backlogs') }
} }
end end

Loading…
Cancel
Save