# HG changeset patch # User Chloe Laisne # Date 1476467636 -7200 # Node ID cffb9b124af368ad1e8dfec1c7e544caa7799fdd # Parent 400719e1e9a882e6ffef8f73048d19ab467912d0 Remove play transcript button if sentence playing diff -r 400719e1e9a8 -r cffb9b124af3 cms/app-client/app/templates/components/transcript-component.hbs --- a/cms/app-client/app/templates/components/transcript-component.hbs Fri Oct 14 19:49:28 2016 +0200 +++ b/cms/app-client/app/templates/components/transcript-component.hbs Fri Oct 14 19:53:56 2016 +0200 @@ -13,7 +13,9 @@
    {{#each annotations as |annotation|}}
  1. + {{#unless (if-and (if-operator player.progress '>=' annotation.begin) (if-operator player.progress '<' annotation.end))}} Play + {{/unless}} {{#if annotation.title}}{{annotation.title}}{{/if}} {{#each annotation.fragments as |fragment|}}