show more information in result list and add action to play or to show more details about the item
authornowmad@23.1.168.192.in-addr.arpa
Thu, 17 Dec 2015 12:14:57 +0100
changeset 66 b7e750ed3ef5
parent 65 5d5c30207e4c
child 67 e93ef2636e06
show more information in result list and add action to play or to show more details about the item
cms/app-client/app/templates/results.hbs
--- a/cms/app-client/app/templates/results.hbs	Thu Dec 17 12:14:31 2015 +0100
+++ b/cms/app-client/app/templates/results.hbs	Thu Dec 17 12:14:57 2015 +0100
@@ -21,8 +21,12 @@
 </div>
 <div class='result-list'>
   {{#each filteredSounds as |item| }}
-    <div class='result-item'>
-      <strong>{{ item.title }}</strong>
+    <div id="{{item.id}}" {{action "details" item}} class='result-item'>
+      <span class="play-icon" {{action 'play' item}}></span>
+      <strong>{{ item.title }}</strong> - {{item.interviewer}}
+      <div class="description">
+        {{item.description}}
+      </div>
     </div>
   {{/each}}
 </div>