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

form configuration changes to widen the banner

bsatarnejada302cfe9dc3c
diff --git a/app/views/types/form/_form_configuration.html.erb b/app/views/types/form/_form_configuration.html.erb
index 759ca761cc4..4888edc8759 100644
--- a/app/views/types/form/_form_configuration.html.erb
+++ b/app/views/types/form/_form_configuration.html.erb
@@ -33,26 +33,29 @@ See COPYRIGHT and LICENSE files for more details.
<div>
<div class="grid-block -visible-overflow wrap">
<div class="grid-content -visible-overflow small-12 large-10">
- <div class="op-toast -info">
- <div class="op-toast--content">
- <p><%= t('text_form_configuration') %></p>
- <br>
- <p><%= t('text_custom_field_hint_activate_per_project') %></p>
- </div>
- </div>
-
<% if EnterpriseToken.show_banners? %>
- <%=
- angular_component_tag 'op-enterprise-banner',
- inputs: {
- opReferrer: 'form-configuration',
- messageIsHtml: 'true',
- moreInfoText: t('admin.enterprise.buttons.more_info'),
- textMessage: t('types.edit.more_info_text_html'),
- moreInfoLink: 'https://www.openproject.org/docs/system-admin-guide/manage-work-packages/work-package-types/#work-package-form-configuration-premium-feature',
- }
- %>
+ <%=
+ angular_component_tag 'op-no-results',
+ inputs: {
+ title: t('text_form_configuration') + t('text_custom_field_hint_activate_per_project'),
+ }
+ %>
+ <%=
+ angular_component_tag 'op-enterprise-banner',
+ inputs: {
+ opReferrer: 'form-configuration',
+ messageIsHtml: 'true',
+ moreInfoText: t('admin.enterprise.buttons.more_info'),
+ textMessage: t('types.edit.more_info_text_html'),
+ moreInfoLink: 'https://www.openproject.org/docs/system-admin-guide/manage-work-packages/work-package-types/#work-package-form-configuration-premium-feature',
+ }
+ %>
<% end %>
+ </div>
+ </div>
+ <div class="grid-block -visible-overflow wrap">
+ <div class="grid-content -visible-overflow small-12 large-10">
+
<% no_filter_query = ::API::V3::Queries::QueryParamsRepresenter.new(Query.new_default.tap { |q| q.filters = [] }).to_json %>
<%= f.hidden_field :attribute_groups, value: '', class: 'admin-type-form--hidden-field' %>
<%= content_tag('admin-type-form-configuration',