cms/app-client/app/templates/components/transcript-component.hbs
changeset 455 a8bed1c7df8e
parent 454 710a2ae08a74
child 457 a7a333c0b1eb
equal deleted inserted replaced
454:710a2ae08a74 455:a8bed1c7df8e
     6 </h2>
     6 </h2>
     7 
     7 
     8 <div class="transcript">
     8 <div class="transcript">
     9   {{#if hasSections }}
     9   {{#if hasSections }}
    10     {{#each player.transcript.sections as |section|}}
    10     {{#each player.transcript.sections as |section|}}
    11       {{transcript-section-component section=section player=player play=(action 'play')}}
    11       {{transcript-section-component section=section player=player play=(action 'play') intervals=intervals}}
    12     {{/each}}
    12     {{/each}}
    13   {{else}}
    13   {{else}}
    14     <ol class="annotations">
    14     <ol class="annotations">
    15     {{#each player.transcript.annotations as |annotation|}}
    15     {{#each player.transcript.annotations as |annotation|}}
    16       {{transcript-annotation-component annotation=annotation player=player play=(action 'play') tagName='li' class='sentence'}}
    16       {{transcript-annotation-component annotation=annotation player=player intervals=intervals play=(action 'play') tagName='li' class='sentence'}}
    17     {{/each}}
    17     {{/each}}
    18     </ol>
    18     </ol>
    19   {{/if}}
    19   {{/if}}
    20 </div>
    20 </div>