cms/app-client/app/templates/application.hbs
author Chloe Laisne <chloe.laisne@gmail.com>
Sun, 02 Oct 2016 20:23:58 +0200
changeset 315 e3217b6adea3
parent 255 ed05b89e3299
child 333 400719e1e9a8
permissions -rw-r--r--
Display footer toolbar only when transcript or notice is open

{{player-component action="changeDocument" document=currentItem}}

<div class="corpus-window">

    {{#if notice}}
    <div class="corpus-app-modal">
        {{ notice-component class="overlay" model=noticeModel }}
    </div>
    {{/if}}

    <div class="corpus-app-container{{if player.window ' window'}}">
    {{#if player.window}}
        {{#if (eq player.window 'notice')}}
            {{ notice-component }}
        {{else if (if-and (eq player.window 'transcript') player.transcript)}}
            {{ transcript-component }}
        {{/if}}
    {{else}}
        {{ outlet }}
    {{/if}}
    </div>
    {{#if player.window}}
    {{toolbar-component}}
    {{/if}}

    <div class="corpus-app-wrapper">
        {{ filter-component }}
        {{ playlist-component notice=notice model=model }}
    </div>

</div>