Merge pull request #17202 from opf/bug/59284-add-local-spacing-to-inline-enterprise-banner

[#59284] add correct margins to enterprise banner
This commit is contained in:
Eric Schubert
2024-11-18 10:30:51 +01:00
committed by GitHub
+11 -10
View File
@@ -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) %>>