|
|
|
@ -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', |
|
|
|
|