upgrade
This commit is contained in:
136
plugin/zoom/view/meeting.tpl
Normal file
136
plugin/zoom/view/meeting.tpl
Normal file
@@ -0,0 +1,136 @@
|
||||
<h4>
|
||||
{{ meeting.typeName }} {{ meeting.meetingId }}
|
||||
{% if meeting.meetingInfoGet.status %}
|
||||
({{ meeting.meetingInfoGet.status }})
|
||||
{% endif %}
|
||||
</h4>
|
||||
|
||||
<div class="btn-group" role="group">
|
||||
|
||||
{% if meeting.meetingInfoGet.status != 'finished' %}
|
||||
<a class="btn btn-primary" href="join_meeting.php?meetingId={{ meeting.meetingId }}&{{ url_extra }}">
|
||||
{{ 'ViewMeeting'|get_plugin_lang('ZoomPlugin') }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if isConferenceManager %}
|
||||
{% if meeting.status == 'waiting' %}
|
||||
<a class="btn btn-primary" href="{{ meeting.meetingInfoGet.start_url }}" target="_blank">
|
||||
{{ 'StartMeeting'|get_plugin_lang('ZoomPlugin') }}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<a class="btn btn-default" href="activity.php?meetingId={{ meeting.meetingId }}&{{ url_extra }}">
|
||||
{{ 'Activity'|get_plugin_lang('ZoomPlugin') }}
|
||||
</a>
|
||||
|
||||
<a href="attendance.php?meetingId={{ meeting.meetingId ~ '&' ~ url_extra }}" class="btn btn-info">
|
||||
{{ 'Attendance'|get_lang }}
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% if isConferenceManager %}
|
||||
<br />
|
||||
<br />
|
||||
<div class="panel panel-default conference">
|
||||
<div class="panel-body">
|
||||
<div class="share">
|
||||
{{ 'JoinURLToSendToParticipants'| get_plugin_lang('ZoomPlugin') }}
|
||||
</div>
|
||||
<div class="form-inline">
|
||||
<div class="form-group">
|
||||
<input id="share_button_flash" type="text"
|
||||
style="width:460px"
|
||||
class="form-control" readonly
|
||||
value="{{ _p.web }}plugin/zoom/join_meeting.php?meetingId={{ meeting.meetingId }}&{{ url_extra }}"
|
||||
>
|
||||
<button onclick="copyTextToClipBoard('share_button_flash');" class="btn btn-default">
|
||||
<span class="fa fa-copy"></span> {{ 'CopyTextToClipboard' | get_lang }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if currentUserJoinURL %}
|
||||
{#<p>#}
|
||||
{# <a href="{{ currentUserJoinURL }}" target="_blank">#}
|
||||
{# {{ 'JoinMeeting'|get_plugin_lang('ZoomPlugin') }}#}
|
||||
{# </a>#}
|
||||
{#</p>#}
|
||||
{% endif %}
|
||||
|
||||
{% if isConferenceManager %}
|
||||
{{ editMeetingForm }}
|
||||
{{ deleteMeetingForm }}
|
||||
{% if registerParticipantForm %}
|
||||
<hr>
|
||||
{{ registerParticipantForm }}
|
||||
{% endif %}
|
||||
|
||||
{% if registerPresenterForm %}
|
||||
{{ registerPresenterForm }}
|
||||
{% endif %}
|
||||
|
||||
{{ fileForm }}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-m6">
|
||||
{% if presenters %}
|
||||
<h3>{{ 'Presenters'|get_plugin_lang('ZoomPlugin') }}</h3>
|
||||
<table class="table">
|
||||
{% for presenter in presenters %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ presenter.fullName }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-m6">
|
||||
{# {% if registrants and meeting.meetingInfoGet.settings.approval_type != 2 %}#}
|
||||
{% if registrants.count > 0 %}
|
||||
<script>
|
||||
function copyJoinURL(event, url) {
|
||||
event.target.textContent = '{{ 'CopyingJoinURL'|get_plugin_lang('ZoomPlugin')|escape }}';
|
||||
navigator.clipboard.writeText(url).then(
|
||||
function() {
|
||||
event.target.textContent = '{{ 'JoinURLCopied'|get_plugin_lang('ZoomPlugin')|escape }}';
|
||||
}, function() {
|
||||
event.target.textContent = '{{ 'CouldNotCopyJoinURL'|get_plugin_lang('ZoomPlugin')|escape }}' + ' ' + url;
|
||||
}
|
||||
);
|
||||
}
|
||||
</script>
|
||||
<h3>{{ 'Users' | get_lang }}</h3>
|
||||
<br />
|
||||
<table class="table">
|
||||
{% for registrant in registrants %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ registrant.fullName }}
|
||||
</td>
|
||||
<td>
|
||||
{# {% if registrant.joinUrl %}#}
|
||||
{# <a class="btn btn-primary" onclick="copyJoinURL(event, '{{ registrant.joinUrl }}')">#}
|
||||
{# {{ 'CopyJoinAsURL'|get_plugin_lang('ZoomPlugin') }}#}
|
||||
{# </a>#}
|
||||
{# {% else %}#}
|
||||
{# <a class="btn btn-primary disabled" >#}
|
||||
{# {{ 'JoinURLNotAvailable'|get_plugin_lang('ZoomPlugin') }}#}
|
||||
{# </a>#}
|
||||
{# {% endif %}#}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
{% include 'zoom/view/meeting_details.tpl' %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user