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

use trailing icon of a link in projects upsale feedback dialog

Behrokh Satarnejad347194b578a5
diff --git a/app/components/shares/project_queries/upsale_component.html.erb b/app/components/shares/project_queries/upsale_component.html.erb
index 0568cec7557..370b53b9471 100644
--- a/app/components/shares/project_queries/upsale_component.html.erb
+++ b/app/components/shares/project_queries/upsale_component.html.erb
@@ -5,11 +5,9 @@
component.with_description { I18n.t('sharing.project_queries.upsale.message') }
href = "#{OpenProject::Static::Links.links[:upsale][:href]}/?utm_source=unknown&utm_medium=community-edition&utm_campaign=project-list-sharing-modal"
- component.with_secondary_action(href:) do
- flex_layout(justify_content: :center) do |flex|
- flex.with_column(mr: 1) { I18n.t("admin.enterprise.enterprise_link") }
- flex.with_column { render(Primer::Beta::Octicon.new(icon: :'link-external')) }
- end
+ component.with_secondary_action(href:, target: "_blank") do |link|
+ link.with_trailing_visual_icon(icon: "link-external", size: :small)
+ I18n.t("admin.enterprise.enterprise_link")
end
end
end