Improve BBB listing - refs BT#11636

pull/2487/head
Angel Fernando Quiroz Campos 9 years ago
parent b463d92ba9
commit 951c139da3
  1. 3
      plugin/bbb/listing.php
  2. 17
      plugin/bbb/listing.tpl

@ -178,13 +178,10 @@ if ($bbb->isGlobalConference() === false &&
}
}
$urlToShare = $plugin->get_lang('UrlMeetingToShare').'<br />'.$conferenceUrl;
$tpl = new Template($tool_name);
$tpl->assign('allow_to_edit', $conferenceManager);
$tpl->assign('meetings', $meetings);
$tpl->assign('conference_url', $conferenceUrl);
$tpl->assign('url_to_share', $urlToShare);
$tpl->assign('users_online', $users_online);
$tpl->assign('bbb_status', $status);
$tpl->assign('show_join_button', $showJoinButton);

@ -4,15 +4,18 @@
{% if show_join_button == true %}
<div class ="span12" style="text-align:center">
{{ form }}
<a href="{{ conference_url }}" target="_blank" class="btn btn-primary btn-large">
{{ 'EnterConference'|get_lang }}
</a>
<span id="users_online" class="label label-warning">
{{ 'XUsersOnLine'| get_lang | format(users_online) }}
</span>
<p>
<a href="{{ conference_url }}" target="_blank" class="btn btn-primary btn-large">
{{ 'EnterConference'|get_lang }}
</a>
<span id="users_online" class="label label-warning">
{{ 'XUsersOnLine'| get_lang | format(users_online) }}
</span>
</p>
<div class="well">
{{ url_to_share }}
<strong>{{ 'UrlMeetingToShare'|get_lang }}</strong>
<input type="text" class="form-control text-center" readonly value="{{ conference_url }}">
</div>
</div>
{% endif %}

Loading…
Cancel
Save