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

feat[Op#54749]: Added leading icon to app project mapping button

Andreas Pfohl563337ddbc28
diff --git a/app/components/settings/project_custom_fields/project_custom_field_mapping/new_project_mapping_component.html.erb b/app/components/settings/project_custom_fields/project_custom_field_mapping/new_project_mapping_component.html.erb
index 7fc6a633f96..f6fc118db23 100644
--- a/app/components/settings/project_custom_fields/project_custom_field_mapping/new_project_mapping_component.html.erb
+++ b/app/components/settings/project_custom_fields/project_custom_field_mapping/new_project_mapping_component.html.erb
@@ -47,7 +47,10 @@
size: :large
)
) do |dialog|
- dialog.with_show_button(scheme: :primary) { show_button_text }
+ dialog.with_show_button(scheme: :primary) do |button|
+ button.with_leading_visual_icon(icon: :project)
+ show_button_text
+ end
dialog.with_header(
show_divider: false,