2014-08-18 20:54:12 +08:00
< template name = "displayUserIcons" >
2014-08-08 04:29:13 +08:00
< td > {{#if isUserSharingVideo user}}
2014-09-05 02:08:08 +08:00
< span class = "userListSettingIcon glyphicon glyphicon-facetime-video" rel = "tooltip" data-placement = "bottom" title = "{{user.name}} is sharing their webcam" > < / span >
2014-08-08 04:29:13 +08:00
{{/if}}< / td >
2014-07-29 01:43:26 +08:00
<!-- Should use much more noticeable icons than just bootstrap's volume - up & volume - down to differentiate talking but it is good for now -->
2014-08-08 04:29:13 +08:00
< td > {{#if isUserSharingAudio user}}
2014-09-24 04:56:57 +08:00
{{#if isCurrentUser userId}}
{{#if isUserMuted user}}
< span class = "muteIcon userListSettingIcon glyphicon glyphicon-volume-off" rel = "tooltip" data-placement = "bottom" title = "Unmute yourself" > < / span >
{{else}}
< span class = "muteIcon userListSettingIcon glyphicon glyphicon-volume-down" rel = "tooltip" data-placement = "bottom" title = "Mute yourself" > < / span >
{{/if}}
2014-08-13 00:25:15 +08:00
{{else}}
2014-09-24 04:56:57 +08:00
{{#if isUserMuted user}}
< span class = "userListSettingIcon glyphicon glyphicon-volume-off" rel = "tooltip" data-placement = "bottom" title = "{{user.name}} is muted" > < / span >
2014-08-13 00:25:15 +08:00
{{else}}
2014-09-24 04:56:57 +08:00
{{#if isUserTalking user}}
< span class = "userListSettingIcon glyphicon glyphicon-volume-up" rel = "tooltip" data-placement = "bottom" title = "{{user.name}} is talking" > < / span >
{{else}}
< span class = "userListSettingIcon glyphicon glyphicon-volume-down" rel = "tooltip" data-placement = "bottom" title = "{{user.name}} is not talking" > < / span >
{{/if}}
2014-08-13 00:25:15 +08:00
{{/if}}
{{/if}}
2014-09-20 05:23:58 +08:00
{{/if}}
<!-- listen only: -->
{{#if isUserListenOnly user}}
< span class = "userListSettingIcon glyphicon glyphicon-headphones" title = "Listening only" > < / span >
{{/if}}
< / td >
2014-08-09 00:04:04 +08:00
2014-09-05 02:08:08 +08:00
< td > {{#if user.presenter}}< span class = "userListSettingIcon glyphicon glyphicon-picture" rel = "tooltip" data-placement = "bottom" title = "{{user.name}} is the presenter" > < / span > {{/if}}< / td >
2014-08-18 20:54:12 +08:00
2014-09-24 04:40:59 +08:00
< td >
2014-09-25 03:55:55 +08:00
<!-- {{#if user.raise_hand}} -->
<!-- {{#if isCurrentUser userId}} -->
2014-09-24 04:40:59 +08:00
< span class = "raisedHandIcon userListSettingIcon glyphicon glyphicon-hand-up" rel = "tooltip" data-placement = "bottom" title = "Lower your hand" > < / span >
2014-09-25 03:55:55 +08:00
<!-- {{else}} -->
<!-- <span class="userListSettingIcon glyphicon glyphicon - hand - up" rel="tooltip" data - placement="bottom" title="{{user.name}} has raised their hand"></span> -->
<!-- {{/if}} -->
<!-- {{/if}} -->
2014-09-24 04:40:59 +08:00
< / td >
2014-08-09 00:04:04 +08:00
< / template >
2014-09-05 02:08:08 +08:00
< template name = "usernameEntry" >
2014-08-18 20:54:12 +08:00
< td class = "userNameContainer" >
2014-10-08 00:37:37 +08:00
{{#if isCurrentUser _id}}
2014-08-18 20:54:12 +08:00
< p class = "userNameEntry" rel = "tooltip" data-placement = "bottom" title = "{{user.name}} (you)" >
< strong > {{user.name}} (you)< / strong >
< / p >
{{else}}
< p class = "userNameEntry" rel = "tooltip" data-placement = "bottom" title = "{{user.name}}" >
{{user.name}}
< / p >
{{/if}}
< / td >
2014-08-09 00:04:04 +08:00
< / template >
< template name = "userItem" >
2014-08-16 04:25:28 +08:00
{{> usernameEntry}}
2014-08-18 20:54:12 +08:00
{{> displayUserIcons}}
2014-08-09 00:04:04 +08:00
< / template >