cms/app-client/app/templates/components/transcript-component.hbs
changeset 247 7a5d729992b8
parent 246 5b7ae96768be
child 248 256272c33349
--- a/cms/app-client/app/templates/components/transcript-component.hbs	Thu Jul 21 23:36:50 2016 +0200
+++ b/cms/app-client/app/templates/components/transcript-component.hbs	Fri Jul 22 16:11:44 2016 +0200
@@ -1,10 +1,10 @@
 <h2>{{player.transcript.title}}</h2>
-<div class="transcript">
+<ol class="transcript">
 {{#each player.transcript.annotations as |annotation|}}
-	<div class="sentence{{if (if-and (if-operator player.progress '>=' annotation.start) (if-operator player.progress '<' annotation.end)) ' active'}}">
-		<i class="fa fa-play">Play</i>
+	<li class="sentence{{if (if-and (if-operator player.progress '>=' annotation.start) (if-operator player.progress '<' annotation.end)) ' active'}}">
+		<i class="fa fa-play" {{action 'play' annotation.start}}>Play</i>
 		<p class="original">{{annotation.content}}</p>
 		<p class="translation">{{annotation.translation}}</p>
-	</div>
+	</li>
 {{/each}}
-</div>
\ No newline at end of file
+</ol>
\ No newline at end of file