Skip to content
Snippets Groups Projects
Commit db295311 authored by perroned's avatar perroned
Browse files

Merge remote-tracking branch 'anton/listen-only-prototype' into hangup-webrtc-call

parents 30b39fcc a9e4e7ee
No related branches found
No related tags found
No related merge requests found
......@@ -62,10 +62,7 @@
<!-- display the button for leaving audio -->
{{> makeButton btn_class="navbarIconToggleActive audioFeedIcon navbarButton audioButton leaveAudioButton" i_class="ion-volume-mute" sharingAudio=true rel="tooltip" data_placement="bottom" title="Leave Audio Call"}}
</div>
{{#if amIListenOnlyAudio}}
<!-- shows you are listen only. Will not handle clicks. Only for display -->
<i class="icon ion-speakerphone btn navbarButton audioButton listenOnlyIcon navbarIconToggleActive" rel="tooltip" data-placement="bottom" title="Listen Only"></i>
{{else}}
{{#unless amIListenOnlyAudio}}
{{#if isCurrentUserMuted}}
<!-- if you are muted the button representing your status will show volume off -->
{{> makeButton btn_class="muteIcon navbarButton audioButton" i_class="glyphicon glyphicon-volume-off" sharingAudio=true rel="tooltip" data_placement="bottom" title="Unmute"}}
......@@ -78,7 +75,7 @@
{{> makeButton btn_class="navbarIconToggleActive muteIcon navbarButton audioButton" i_class="glyphicon glyphicon-volume-down" sharingAudio=true rel="tooltip" data_placement="bottom" title="Mute"}}
{{/if}}
{{/if}}
{{/if}}
{{/unless}}
{{else}}
<div class='hiddenNavbarSection'>
{{> makeButton btn_class="audioFeedIcon navbarButton audioButton joinAudioButton" i_class="glyphicon glyphicon-headphones" sharingAudio=false rel="tooltip" data_placement="bottom" title="Join Audio Call"}}
......@@ -198,10 +195,7 @@
<!-- display the button for leaving audio -->
{{> makeButton btn_class="navbarIconToggleActive audioFeedIcon navbarButton audioButton leaveAudioButton" i_class="ion-volume-mute" sharingAudio=true rel="tooltip" data_placement="bottom" title="Leave Audio Call"}}
</div>
{{#if amIListenOnlyAudio}}
<!-- shows you are listen only. Will not handle clicks. Only for display -->
<i class="icon ion-speakerphone btn navbarButton audioButton listenOnlyIcon" rel="tooltip" data-placement="bottom" title="Listen Only"></i>
{{else}}
{{#unless amIListenOnlyAudio}}
{{#if isCurrentUserMuted}}
<!-- if you are muted the button representing your status will show volume off -->
{{> makeButton btn_class="muteIcon navbarButton audioButton" i_class="glyphicon glyphicon-volume-off" sharingAudio=true rel="tooltip" data_placement="bottom" title="Unmute"}}
......@@ -214,7 +208,7 @@
{{> makeButton btn_class="navbarIconToggleActive muteIcon navbarButton audioButton" i_class="glyphicon glyphicon-volume-down" sharingAudio=true rel="tooltip" data_placement="bottom" title="Mute"}}
{{/if}}
{{/if}}
{{/if}}
{{/unless}}
{{else}}
<div class='hiddenNavbarSection'>
<div id="shareMicrophonePanel">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment