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',
action: { controller: '/project_settings/categories', action: 'show' },
label: :label_work_package_category_plural
label: :label_work_package_category_plural,
last: true
},
{
name: 'repository',

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

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

Loading…
Cancel
Save