From b644a571fb36ad3930db691bbf24bf1b47379f74 Mon Sep 17 00:00:00 2001 From: Mantas Masalskis Date: Wed, 11 Mar 2020 01:36:02 +0200 Subject: [PATCH] Fixes #2714 - Roles and Users selection in Overview administration UI ambiguous. --- app/assets/javascripts/app/models/overview.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/models/overview.coffee b/app/assets/javascripts/app/models/overview.coffee index f3020035c..412d72c5d 100644 --- a/app/assets/javascripts/app/models/overview.coffee +++ b/app/assets/javascripts/app/models/overview.coffee @@ -5,8 +5,8 @@ class App.Overview extends App.Model @configure_attributes = [ { name: 'name', display: 'Name', tag: 'input', type: 'text', limit: 100, 'null': false }, { name: 'link', display: 'Link', readonly: 1 }, - { name: 'role_ids', display: 'Available for Role', tag: 'column_select', multiple: true, null: false, relation: 'Role', translate: true }, - { name: 'user_ids', display: 'Available for User', tag: 'column_select', multiple: true, null: true, relation: 'User', sortBy: 'firstname' }, + { name: 'role_ids', display: 'Available for the following roles', tag: 'column_select', multiple: true, null: false, relation: 'Role', translate: true }, + { name: 'user_ids', display: 'Restrict to only the following users', tag: 'column_select', multiple: true, null: true, relation: 'User', sortBy: 'firstname' }, { name: 'organization_shared', display: 'Only available for Users with shared Organization', tag: 'select', options: { true: 'yes', false: 'no' }, default: false, null: true }, { name: 'out_of_office', display: 'Only available for Users which are replacements for other users.', tag: 'select', options: { true: 'yes', false: 'no' }, default: false, null: true }, { name: 'condition', display: 'Conditions for shown Tickets', tag: 'ticket_selector', null: false, out_of_office: true },