Display header only when user is actually inside

This commit is contained in:
perroned 2014-07-24 13:04:53 -07:00
parent 48806ca51f
commit 3eb2ce47e8
2 changed files with 8 additions and 9 deletions

View File

@ -3,6 +3,9 @@
<title>BigBlueButton Meteor</title>
</head>
<body>
<div>
{{>header}}
</div>
<div id="main" class="row-fluid">
{{> usersList}}
{{> chatbar}}
@ -40,16 +43,15 @@
{{else}}
{{> makeButton id=user.externUserId btn_class="audioFeedIcon navbar-brand" i_class="volume-off" sharingAudio=false _id=_id}}
{{/if}}
{{> makeButton id="" btn_class="hideNavbarIcon pull-right navbar-brand" i_class="chevron-up"}}
{{> makeButton id="user.externUserId" btn_class="signOutIcon pull-right navbar-brand" i_class="log-out"}}
{{> makeButton id="user.externUserId" btn_class="settingsIcon pull-right navbar-brand" i_class="cog"}}
{{#if isUserTalking user}}
<span>TALKING</span>
{{else}}
<span>NO TALKING</span>
{{/if}}
{{> makeButton id="" btn_class="hideNavbarIcon pull-right navbar-brand" i_class="chevron-up"}}
{{> makeButton id="user.externUserId" btn_class="signOutIcon pull-right navbar-brand" i_class="log-out"}}
{{> makeButton id="user.externUserId" btn_class="settingsIcon pull-right navbar-brand" i_class="cog"}}
{{/with}}
</div>
{{else}}

View File

@ -1,6 +1,3 @@
<template name="layout">
<div>
{{>header}}
</div>
{{> yield}}
{{> yield}}
</template>