cms/app-client/app/templates/results.hbs
changeset 56 c4a022ba3fc3
parent 52 87b6a104de8e
child 66 b7e750ed3ef5
equal deleted inserted replaced
55:484c02a0e590 56:c4a022ba3fc3
     1 <h2>This is the results</h2>
     1 <div class="result-header">
     2 <div class="corpus-app-content">
     2   <h2>This is the results</h2>
     3   RESULTS
       
     4   <p>
     3   <p>
     5     Tags: {{location}} {{langue}}
     4     Tags:
       
     5     {{#if location}}
       
     6       <span>{{location}}<button {{action 'deleteTag' 'location'}}>✗</button></span>
       
     7     {{/if}}
       
     8     {{#if langue}}
       
     9       <span>{{langue}}<button {{action 'deleteTag' 'langue'}}>✗</button></span>
       
    10     {{/if}}
       
    11     {{#if discours}}
       
    12       <span>{{discours}}<button {{action 'deleteTag' 'discours'}}>✗</button></span>
       
    13     {{/if}}
       
    14     {{#if date}}
       
    15       <span>{{date}}<button {{action 'deleteTag' 'date'}}>✗</button></span>
       
    16     {{/if}}
       
    17     {{#if thematique}}
       
    18       <span>{{thematique}}<button {{action 'deleteTag' 'thematique'}}>✗</button></span>
       
    19     {{/if}}
     6   </p>
    20   </p>
       
    21 </div>
       
    22 <div class='result-list'>
     7   {{#each filteredSounds as |item| }}
    23   {{#each filteredSounds as |item| }}
     8     <p>
    24     <div class='result-item'>
     9       <strong>{{ item.name }}</strong>
    25       <strong>{{ item.title }}</strong>
    10     </p>
    26     </div>
    11   {{/each}}
    27   {{/each}}
    12 </div>
    28 </div>