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

[#59284] add correct margins to enterprise banner

Eric Schubertdbde5d5435a8
diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erb
index 4aded3ec875..f9e75001b65 100644
--- a/app/views/custom_fields/_form.html.erb
+++ b/app/views/custom_fields/_form.html.erb
@@ -58,16 +58,17 @@ See COPYRIGHT and LICENSE files for more details.
'admin--custom-fields-target': 'format'
}
%>
- </div>
- <div class="form--field-extra-actions" <%= format_dependent.attributes(:enterpriseBanner) %>>
- <%= angular_component_tag "opce-enterprise-banner",
- inputs: {
- collapsible: true,
- opReferrer: "custom-field-hierarchy",
- textMessage: "PLACEHOLDER - upgrade to Starkiller Base",
- moreInfoLink: OpenProject::Static::Links.links[:enterprise_docs][:boards][:href]
- }
- %>
+ <div class="form--field-extra-actions" <%= format_dependent.attributes(:enterpriseBanner) %>>
+ <%= angular_component_tag "opce-enterprise-banner",
+ inputs: {
+ collapsible: true,
+ topMargin: true,
+ opReferrer: "custom-field-hierarchy",
+ textMessage: "PLACEHOLDER - upgrade to Starkiller Base",
+ moreInfoLink: OpenProject::Static::Links.links[:enterprise_docs][:boards][:href]
+ }
+ %>
+ </div>
</div>
<div class="form--grouping" id="custom_field_length" <%= format_dependent.attributes(:length) %>>