Add videoconference link to event notification email

This commit is contained in:
nathangray 2021-02-25 10:33:34 -07:00
parent b0e5e8a441
commit cb928e24e1
4 changed files with 12 additions and 4 deletions

View File

@ -2196,6 +2196,10 @@ class calendar_uiforms extends calendar_ui
}
}
$event['id'] = $existing_event['id'];
if($existing_event['##videoconference'])
{
$event['##videoconference'] = $existing_event['##videoconference'];
}
}
else // event not in calendar
{

View File

@ -3591,7 +3591,7 @@ var CalendarApp = /** @class */ (function (_super) {
if (_value.err)
egw.message(_value.err, 'error');
if (_value.url)
app.status.openCall(_value.url);
egw.top.app.status.openCall(_value.url);
}
}).sendRequest();
};

View File

@ -4455,7 +4455,7 @@ class CalendarApp extends EgwApp
if (_value)
{
if (_value.err) egw.message(_value.err, 'error');
if(_value.url) app.status.openCall(_value.url);
if(_value.url) egw.top.app.status.openCall(_value.url);
}
}).sendRequest();
}

View File

@ -57,11 +57,15 @@
</row>
<row class="row">
<description value="Location"/>
<description id="location" no_lang="1"/>
<hbox>
<description id="location" no_lang="1"/>
<description class="et2_link" value="Videoconference" disabled="!@##videoconference" onclick="app.calendar.joinVideoConference(widget.getArrayMgr('content').getEntry('##videoconference'), widget.getArrayMgr('content').data);"/>
<image src="videoconference" disabled="!@##videoconference"/>
</hbox>
</row>
<row class="row">
<description value="Date"/>
<hbox options="0,0">
<hbox>
<date-time id="start" readonly="true"/>
<date-time label="-" id="end" readonly="true" class="leftPad5"/>
</hbox>