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 = new Template($tool_name);
$tpl->assign('allow_to_edit', $conferenceManager); $tpl->assign('allow_to_edit', $conferenceManager);
$tpl->assign('meetings', $meetings); $tpl->assign('meetings', $meetings);
$tpl->assign('conference_url', $conferenceUrl); $tpl->assign('conference_url', $conferenceUrl);
$tpl->assign('url_to_share', $urlToShare);
$tpl->assign('users_online', $users_online); $tpl->assign('users_online', $users_online);
$tpl->assign('bbb_status', $status); $tpl->assign('bbb_status', $status);
$tpl->assign('show_join_button', $showJoinButton); $tpl->assign('show_join_button', $showJoinButton);

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

Loading…
Cancel
Save