cms/app-client/app/templates/results.hbs
author nowmad@23.1.168.192.in-addr.arpa
Thu, 17 Dec 2015 12:14:31 +0100
changeset 65 5d5c30207e4c
parent 56 c4a022ba3fc3
child 66 b7e750ed3ef5
permissions -rw-r--r--
add a html 5 audio player to play the current item clicked

<div class="result-header">
  <h2>This is the results</h2>
  <p>
    Tags:
    {{#if location}}
      <span>{{location}}<button {{action 'deleteTag' 'location'}}></button></span>
    {{/if}}
    {{#if langue}}
      <span>{{langue}}<button {{action 'deleteTag' 'langue'}}></button></span>
    {{/if}}
    {{#if discours}}
      <span>{{discours}}<button {{action 'deleteTag' 'discours'}}></button></span>
    {{/if}}
    {{#if date}}
      <span>{{date}}<button {{action 'deleteTag' 'date'}}></button></span>
    {{/if}}
    {{#if thematique}}
      <span>{{thematique}}<button {{action 'deleteTag' 'thematique'}}></button></span>
    {{/if}}
  </p>
</div>
<div class='result-list'>
  {{#each filteredSounds as |item| }}
    <div class='result-item'>
      <strong>{{ item.title }}</strong>
    </div>
  {{/each}}
</div>