bigbluebutton-Github/labs/meteor-client/client/views/users/user_item.html
2014-08-08 09:04:04 -07:00

35 lines
1.2 KiB
HTML
Executable File

<template name="displayOwnControls">
<td>{{#if isUserSharingVideo user}}
<span class="userListSettingIcon glyphicon glyphicon-facetime-video"></span>
{{/if}}</td>
<!-- Should use much more noticeable icons than just bootstrap's volume-up & volume-down to differentiate talking but it is good for now -->
<td>{{#if isUserSharingAudio user}}
{{#if isUserTalking user}}
<span class="userListSettingIcon glyphicon glyphicon-volume-up"></span>
{{else}}
<span class="userListSettingIcon glyphicon glyphicon-volume-down"></span>
{{/if}}
{{/if}}</td>
</template>
<template name="displayStandardUserControls">
{{#if user.presenter}}<td><span class="presenterIcon glyphicon glyphicon-picture"></span></td>{{/if}}
</template>
<template name="usernameEntry"> <!-- A template now because more information be added/styled -->
<td><span>
{{#if isCurrentUser userId}}
<strong>{{user.name}} (you)</strong>
{{else}}
{{user.name}}
{{/if}}
</span></td>
</template>
<template name="userItem">
{{> usernameEntry}}
{{> displayOwnControls}}
{{> displayStandardUserControls}}
</template>