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

edit project attribute via click on name in row

Jonas Jabari5a4a756acaa8
diff --git a/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erb b/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erb
index 8c474e943ea..e558b1d5915 100644
--- a/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erb
+++ b/app/components/settings/project_custom_field_sections/custom_field_row_component.html.erb
@@ -6,7 +6,13 @@
render(Primer::OpenProject::DragHandle.new(classes: 'handle'))
end
content_container.with_column(mr: 2) do
- render(Primer::Beta::Text.new(font_weight: :bold)) do
+ render(Primer::Beta::Link.new(
+ href: edit_admin_settings_project_custom_field_path(@project_custom_field),
+ scheme: :primary,
+ underline: false,
+ font_weight: :bold,
+ data: { turbo: "false" }
+ )) do
@project_custom_field.name
end
end