No need to be manager to see the join button see BT#12620

pull/2487/head
Julio 8 years ago
parent 4b2cdf988e
commit 7aa46511e2
  1. 2
      plugin/bbb/listing.php
  2. 8
      plugin/bbb/listing.tpl

@ -129,7 +129,7 @@ $maxUsers = $bbb->getMaxUsersLimit();
$status = $bbb->isServerRunning();
$meetingExists = $bbb->meetingExists($bbb->getCurrentVideoConferenceName());
$showJoinButton = false;
if (($meetingExists || $conferenceManager) && ($maxUsers == 0 || $maxUsers > $usersOnline)) {
if ($meetingExists && ($maxUsers == 0 || $maxUsers > $usersOnline)) {
$showJoinButton = true;
}
$conferenceUrl = $bbb->getConferenceUrl();

@ -1,9 +1,9 @@
<div class ="row">
{% if bbb_status == true %}
<div class ="span12" style="text-align:center">
<div class ="col-md-12" style="text-align:center">
{{ form }}
{% if show_join_button == true %}
{{ form }}
<p>
<a href="{{ conference_url }}" target="_blank" class="btn btn-primary btn-large">
{{ 'EnterConference'|get_lang }}
@ -32,7 +32,7 @@
{% endif %}
</div>
<div class ="span12">
<div class ="col-md-12">
<div class="page-header">
<h2>{{ 'RecordList'|get_lang }}</h2>
</div>
@ -88,7 +88,7 @@
</table>
</div>
{% else %}
<div class ="span12" style="text-align:center">
<div class ="col-md-12" style="text-align:center">
{{ 'ServerIsNotRunning' | return_message('warning') }}
</div>
{% endif %}

Loading…
Cancel
Save