Minor - Plugins: Zoom - disable user in activity

Zoom doesnt send chamilo user id

BT#17288
pull/3433/head
Julio Montoya 6 years ago
parent 855efbff25
commit 44b2f5dfe3
  1. 1
      plugin/zoom/endpoint.php
  2. 20
      plugin/zoom/view/activity.tpl

@ -50,7 +50,6 @@ if ($meeting) {
$activity->setName($action);
$activity->setType($objectType);
$activity->setEvent(json_encode($object));
$activity->setUser(api_get_user_entity(api_get_user_id()));
}
switch ($objectType) {

@ -11,7 +11,7 @@
<tr>
<th>{{ 'Type'|get_lang }}</th>
<th>{{ 'Action'|get_plugin_lang('ZoomPlugin') }}</th>
<th>{{ 'User'|get_lang }}</th>
{# <th>{{ 'User'|get_lang }}</th>#}
<th>{{ 'Date'|get_lang }}</th>
<th>{{ 'Details'|get_lang }} </th>
</tr>
@ -28,15 +28,15 @@
<td>
{{ activity.createdAt | api_convert_and_format_date(3)}}
</td>
<td>
{% if _u.is_admin %}
<a href="{{ _p.web_main }}admin/user_information.php?user_id="{{ activity.user.id }}>
{{ activity.user.firstname }} {{ activity.user.lastname }} {{ activity.user.username }}
</a>
{% else %}
{{ activity.user.firstname }} {{ activity.user.lastname }} ({{ activity.user.username }})
{% endif %}
</td>
{# <td>#}
{# {% if _u.is_admin %}#}
{# <a href="{{ _p.web_main }}admin/user_information.php?user_id={{ activity.user.id }}" >#}
{# {{ activity.user.firstname }} {{ activity.user.lastname }} ({{ activity.user.username }})#}
{# </a>#}
{# {% else %}#}
{# {{ activity.user.firstname }} {{ activity.user.lastname }} ({{ activity.user.username }})#}
{# {% endif %}#}
{# </td>#}
<td>
{% if activity.eventDecoded.registrant %}
{{ 'User' | get_lang }} :

Loading…
Cancel
Save