Add a etherpad button (if etherpad is enabled)

master
Daniel Berteaud 11 years ago
parent 6416c8ac6a
commit 745d3ab685
  1. 7
      templates/default/join.html.ep

@ -31,6 +31,12 @@
0
</span>
</button>
<% if ($etherpad eq 'true'){ %>
<button id="etherpad" class="btn btn-default help" data-toggle="tooltip" data-placement="bottom" title="<%=l 'OPEN_ETHERPAD' %>">
<span class="glyphicon glyphicon-pencil">
</span>
</button>
<% } %>
</div>
<div class="btn-group navbar-form navbar-left" data-toggle="buttons">
<label class="btn btn-default help" id="muteMicLabel" data-toggle="tooltip" data-placement="bottom" title="<%=l 'MUTE_MIC' %>">
@ -783,6 +789,7 @@
var roomName = '<%= $room %>';
$( document ).ready(function() {
setTimeout(function(){
etherpad = <%= $etherpad %>;
<% if ($video eq 'false'){ %>
videoConstraints = false;
<% } else{ %>

Loading…
Cancel
Save