form configuration changes to widen the banner

pull/10955/head
bsatarnejad 2 years ago committed by Henriette Darge
parent b84d3ab1c4
commit a302cfe9dc
  1. 39
      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',

Loading…
Cancel
Save