Skip to content

Commit

Permalink
Merge pull request #16363 from opf/bug/55299-project-attributes-fix-p…
Browse files Browse the repository at this point in the history
…hrasing-of-required-and-visible-options

[#55299] Update Project attributes searchable hint text
  • Loading branch information
dombesz authored Aug 8, 2024
2 parents e0baa0e + 36a9778 commit 9cd03ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/views/custom_fields/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,13 @@ See COPYRIGHT and LICENSE files for more details.
<div class="form--field">
<%= f.check_box :admin_only %>
<div class="form--field-instructions">
<p><%= t('custom_fields.instructions.admin_only_for_project') %></p>
<p><%= t('custom_fields.instructions.admin_only') %></p>
</div>
</div>
<div class="form--field" <%= format_dependent.attributes(:searchable) %>>
<%= f.check_box :searchable %>
<div class="form--field-instructions">
<p><%= t('custom_fields.instructions.searchable') %></p>
<p><%= t('custom_fields.instructions.searchable_for_project') %></p>
</div>
</div>
<% when "TimeEntryCustomField" %>
Expand Down
4 changes: 2 additions & 2 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ en:
is_required: "Mark the custom field as required. This will make it mandatory to fill in the field when creating new or updating existing resources."
is_required_for_project: "Check to enable this attribute and make it required in all projects. It cannot be deactived for individual projects."
is_for_all: "Mark the custom field as available in all existing and new projects."
searchable: "Check to make this attribute available as a filter in project lists."
searchable: "Include the field values when using the global search functionality."
searchable_for_project: "Check to make this attribute available as a filter in project lists."
editable: "Allow the field to be editable by users themselves."
admin_only: "Check to make this attribute only visible to administrators. Users without admin rights will not be able to view or edit it."
admin_only_for_project: "Make field visible for all users (non-admins) in the project overview and displayed in the project details widget on the Project Overview."
is_filter: >
Allow the custom field to be used in a filter in work package views.
Note that only with 'For all projects' selected, the custom field will show up in global views.
Expand Down

0 comments on commit 9cd03ca

Please sign in to comment.