<template name="viewer">
    {{#if Template.subscriptionsReady}}
    <div id="viewer">
        {{> studyBrowser }}
        <div class='viewerMain'>
            {{> toolbar }}
            {{> imageViewerViewports }}
        </div>
    </div>
    {{else}}
        {{>loadingText}}
    {{/if}}
</template>