Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix enterprise icon. Open nexcloud in new tab.

Pavel Balashov265c21dac126
diff --git a/frontend/src/global_styles/layout/_main_menu.sass b/frontend/src/global_styles/layout/_main_menu.sass
index 07c83024fa2..f17eed11aa0 100644
--- a/frontend/src/global_styles/layout/_main_menu.sass
+++ b/frontend/src/global_styles/layout/_main_menu.sass
@@ -231,6 +231,7 @@ a.main-menu--parent-node
color: $spot-color-feedback-warning-dark
font-size: 1rem
margin-right: 1px
+ margin-left: 0.25rem
.hidden-navigation
.main-menu
diff --git a/lib/redmine/menu_manager/menu_helper.rb b/lib/redmine/menu_manager/menu_helper.rb
index d4982242e72..e37090e764f 100644
--- a/lib/redmine/menu_manager/menu_helper.rb
+++ b/lib/redmine/menu_manager/menu_helper.rb
@@ -182,6 +182,7 @@ module Redmine::MenuManager::MenuHelper
html_options[:title] ||= selected ? t(:description_current_position) + caption : caption
html_options[:class] = "#{html_options[:class]} #{menu_class}--item-action"
html_options['data-qa-selector'] = "#{menu_class}--item-action"
+ html_options['target'] = '_blank' if item.icon_after.present? && item.icon_after == 'external-link'
link_to link_text, url, html_options
end