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

[#65074] Remove broken custom field creation option

Tobias Dillmann062b0d2b3419
diff --git a/app/views/custom_fields/_tab.html.erb b/app/views/custom_fields/_tab.html.erb
index c1fe98606be..89fe2f80b63 100644
--- a/app/views/custom_fields/_tab.html.erb
+++ b/app/views/custom_fields/_tab.html.erb
@@ -32,7 +32,7 @@ See COPYRIGHT and LICENSE files for more details.
<% end %>
<% if @custom_fields_by_type[tab[:name]].blank? %>
- <%= no_results_box(action_url: new_custom_field_path(type: tab[:name]), display_action: true) %>
+ <%= no_results_box(display_action: false) %>
<% else %>
<div class="generic-table--container">
<div class="generic-table--results-container">
@@ -150,7 +150,7 @@ See COPYRIGHT and LICENSE files for more details.
<%= link_to t(:label_custom_field_add_no_type), types_path %>
</span>
<% end %>
- <%= safe_join type_links, ", ".html_safe %>
+ <%= safe_join(type_links, ", ") %>
</td>
<% end %>
<% unless tab[:name] == 'WorkPackageCustomField' %>