Display delegated-to attribute in iTip view
This commit is contained in:
parent
7221557e31
commit
7df78a5052
3 changed files with 8 additions and 3 deletions
|
@ -297,7 +297,12 @@ class libcalendaring_itip
|
|||
foreach ($existing['attendees'] as $attendee) {
|
||||
if ($attendee['role'] != 'ORGANIZER' && strcasecmp($attendee['email'], $event['attendee']) == 0) {
|
||||
if (in_array($status, array('ACCEPTED','TENTATIVE','DECLINED','DELEGATED'))) {
|
||||
$html = html::div('rsvp-status ' . strtolower($status), $this->gettext('attendee'.strtolower($status)));
|
||||
$html = html::div('rsvp-status ' . strtolower($status), $this->gettext(array(
|
||||
'name' => 'attendee'.strtolower($status),
|
||||
'vars' => array(
|
||||
'delegatedto' => Q($attendee['delegated-to'] ?: '?'),
|
||||
)
|
||||
)));
|
||||
}
|
||||
$action = $attendee['status'] == $status ? '' : 'update';
|
||||
$listed = true;
|
||||
|
|
|
@ -60,7 +60,7 @@ $labels['youhavedelegated'] = 'You have delegated this invitation';
|
|||
$labels['attendeeaccepted'] = 'Participant has accepted';
|
||||
$labels['attendeetentative'] = 'Participant has tentatively accepted';
|
||||
$labels['attendeedeclined'] = 'Participant has declined';
|
||||
$labels['attendeedelegated'] = 'Participant has delegated';
|
||||
$labels['attendeedelegated'] = 'Participant has delegated to $delegatedto';
|
||||
$labels['notanattendee'] = 'You\'re not listed as an attendee of this object';
|
||||
|
||||
$labels['importtocalendar'] = 'Save to my calendar';
|
||||
|
|
|
@ -60,7 +60,7 @@ span.edit-alarm-set {
|
|||
a.reply-comment-toggle {
|
||||
display: inline-block;
|
||||
margin-left: 1em;
|
||||
color: #333;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.itip-reply-comment textarea {
|
||||
|
|
Loading…
Add table
Reference in a new issue