From 53718381598c5941933a5a74441534501ee3f204 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 19 Feb 2019 11:49:26 -0500 Subject: [PATCH] (web) Allow to change participants roles --- NEWS | 1 + .../English.lproj/Localizable.strings | 32 ++++++++++++++++++- .../SchedulerUI/UIxAttendeesEditor.wox | 11 +++++++ UI/WebServerResources/img/voice_over_off.svg | 1 + UI/WebServerResources/js/Common/Common.app.js | 7 ++-- .../js/Scheduler/Attendees.service.js | 30 ++++++++++++++--- .../js/Scheduler/ComponentController.js | 2 ++ 7 files changed, 76 insertions(+), 8 deletions(-) create mode 100644 UI/WebServerResources/img/voice_over_off.svg diff --git a/NEWS b/NEWS index 176214812..9ff0845ff 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,7 @@ Enhancements - [web] updated Angular to version 1.7.7 - [web] restored support for next/previous slot suggestion in attendees editor - [web] improved auto-completion display of contacts + - [web] allow modification of attendees participation role - [core] baseDN now accept dynamic domain values (#3685 - sponsored by iRedMail) - [core] we now handle optional and non-required attendee states diff --git a/UI/Scheduler/English.lproj/Localizable.strings b/UI/Scheduler/English.lproj/Localizable.strings index fb3168ece..b3c304290 100644 --- a/UI/Scheduler/English.lproj/Localizable.strings +++ b/UI/Scheduler/English.lproj/Localizable.strings @@ -440,15 +440,45 @@ validate_untilbeforeend = "The recurrence must end after the first occurrence "Are you sure you want to delete the selected components?" = "Are you sure you want to delete the selected components?"; -/* Legend */ +/* Participation role */ +"Role" = "Role"; + +/* Participant role: participation is required */ "Participant" = "Participant"; + +/* Participant role: participation is required */ +"req-participant" = "Participant"; + +/* Participant role: participation is optional */ "Optional Participant" = "Optional Participant"; + +/* Participant role: participation is optional */ +"opt-participant" = "Optional Participant"; + +/* Participant role: participant is copied for information purposes only */ "Non Participant" = "Non Participant"; + +/* Participant role: participant is copied for information purposes only */ +"non-participant" = "Non Participant"; + +/* Participant role: participant is chair of the calendar entity */ "Chair" = "Chair"; + +/* Participant role: participant is chair of the calendar entity */ +"chair" = "Chair"; + +/* Participant status: needs action */ "Needs action" = "Needs action"; + +/* Participant status: event accepted */ "Accepted" = "Accepted"; + +/* Participant status: event declined */ "Declined" = "Declined"; + +/* Participant status: tentatively accepted */ "Tentative" = "Tentative"; + "Free" = "Free"; "Busy" = "Busy"; "Maybe busy" = "Maybe busy"; diff --git a/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox b/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox index b07861c40..f49067f6a 100644 --- a/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox +++ b/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox @@ -4,6 +4,7 @@ xmlns:var="http://www.skyrix.com/od/binding" xmlns:const="http://www.skyrix.com/od/constant" xmlns:label="OGo:label" + xmlns:rsrc="OGo:url" >