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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
move enterprise banner for hierarchy fields
ulfertse1a6f7157b6f
diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erbindex bfea799fcc6..192fc485768 100644--- a/app/views/custom_fields/_form.html.erb+++ b/app/views/custom_fields/_form.html.erb@@ -49,13 +49,6 @@ See COPYRIGHT and LICENSE files for more details.required: true %></div><% end %>- <div class="form--field">- <div class="form--field-extra-actions" <%= format_dependent.attributes(:enterpriseBanner) %>>- <%=- render(EnterpriseEdition::BannerComponent.new(:custom_field_hierarchies, mt: 2))- %>- </div>- </div><div class="form--grouping" id="custom_field_length" <%= format_dependent.attributes(:length) %>><div class="form--grouping-label">diff --git a/app/views/custom_fields/_tab.html.erb b/app/views/custom_fields/_tab.html.erbindex c7e5562b703..7642ad84710 100644--- a/app/views/custom_fields/_tab.html.erb+++ b/app/views/custom_fields/_tab.html.erb@@ -27,6 +27,10 @@ See COPYRIGHT and LICENSE files for more details.++#%>+<% if @tab == "WorkPackageCustomField" %>+ <%= render(EnterpriseEdition::BannerComponent.new(:custom_field_hierarchies, mt: 2)) %>+<% end %>+<% if @custom_fields_by_type[tab[:name]].blank? %><%= no_results_box(action_url: new_custom_field_path(type: tab[:name]), display_action: true) %><% else %>