Conditional for menu button

This commit is contained in:
perroned 2015-10-08 13:21:48 -07:00
parent 53562590f1
commit 7d99df33ec

View File

@ -7,8 +7,11 @@
<div id="deskshareResolutions"></div>
</fieldset>
</div><br>
{{> makeButton id="screenshareStart" btn_class="screenshareStart vertoButton settingsButton" i_class="fi-monitor" rel="tooltip" data_placement="bottom" title="Share your screen"}}
{{> makeButton id="screenshareStop" btn_class="screenshareStop vertoButton settingsButton" i_class="fi-monitor" rel="tooltip" data_placement="bottom" title="Stop sharing your screen"}}
{{#if amISharingDesktop}}
{{> makeButton id="screenshareStop" btn_class="screenshareStop vertoButton settingsButton" i_class="fi-monitor" rel="tooltip" data_placement="bottom" title="Stop sharing your screen"}}
{{else}}
{{> makeButton id="screenshareStart" btn_class="screenshareStart vertoButton settingsButton" i_class="fi-monitor" rel="tooltip" data_placement="bottom" title="Share your screen"}}
{{/if}}
<button id='desksharePreview' class="vertoButton">desksharePreview</button>
</div>
</template>