Skip to content

Commit

Permalink
Merge pull request #17246 from opf/task/59219-define-enterprise-banne…
Browse files Browse the repository at this point in the history
…r-text-for-custom-fields-of-type-hierarchy-in-create-custom-field-form

[#59219] added upsale text for enterprise banner
  • Loading branch information
Kharonus authored Nov 22, 2024
2 parents b52d588 + c6fd24d commit 669d6c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/custom_fields/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ See COPYRIGHT and LICENSE files for more details.
collapsible: true,
topMargin: true,
opReferrer: "custom-field-hierarchy",
textMessage: "PLACEHOLDER - upgrade to Starkiller Base",
textMessage: I18n.t("custom_fields.upsale.custom_field_format_hierarchy"),
moreInfoLink: OpenProject::Static::Links.links[:enterprise_docs][:boards][:href]
}
%>
Expand Down
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ en:
zero: no sub-items
one: 1 sub-item
other: "%{count} sub-items"
upsale:
custom_field_format_hierarchy: "Need a hierarchy in your custom fields for work packages?"

text_add_new_custom_field: >
To add new custom fields to a project you first need to create them before
Expand Down

0 comments on commit 669d6c8

Please sign in to comment.