cms/app-client/app/templates/results.hbs
changeset 91 acfeddc7821d
parent 87 24fef043ea0b
child 95 f7ab931581af
--- a/cms/app-client/app/templates/results.hbs	Wed Jan 20 15:53:27 2016 +0100
+++ b/cms/app-client/app/templates/results.hbs	Wed Jan 20 23:05:52 2016 +0100
@@ -22,7 +22,7 @@
   </p>
 </div>
 <div class='result-list'>
-  {{#each filteredSounds as |item| }}
+  {{#each filteredDocuments as |item| }}
     <div id="{{item.id}}" {{action "details" item}} class='result-item'>
       <span class="playing-indicator fa fa-play-circle fa-lg fa-fw pull-right" {{action 'play' item}}></span>
       <strong>{{ item.title }}</strong> - {{item.interviewer}}
@@ -32,19 +32,4 @@
       <button class="pull-right" {{action 'toggleModal' item}}>Details</button>
     </div>
   {{/each}}
-  {{#if isShowingModal}}
-    {{#ember-wormhole to='info-modal'}}
-      <div class="overlay" {{action 'toggleModal'}}></div>
-      <div class="dialog">
-        <h1>{{currentDetails.title}}</h1>
-        <p><b>Description: </b>{{currentDetails.description}}</p>
-        <p><b>Interviewer: </b>{{currentDetails.interviewer}}</p>
-        <p><b>Type de Discours: </b>{{currentDetails.type}}</p>
-        <p><b>Localisation: </b>{{currentDetails.spatial}}</p>
-        <p><b>Langue: </b>{{currentDetails.language}}</p>
-        <p><b>Date de Creation: </b>{{currentDetails.created}}</p>
-        <button class="pull-right" {{action 'toggleModal'}}>Close</button>
-      </div>
-    {{/ember-wormhole}}
-  {{/if}}
 </div>