author | Chloe Laisne <chloe.laisne@gmail.com> |
Tue, 14 Jun 2016 18:28:34 +0200 | |
changeset 190 | 226ae8f2e8e9 |
parent 189 | 21b30ee23191 |
permissions | -rw-r--r-- |
56
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
1 |
<div class="result-header"> |
190
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
2 |
<p> |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
3 |
Filtres: |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
4 |
{{#if location}} |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
5 |
<span class="filters location">{{location}}<span class="fa fa-times" {{action 'deleteTag' 'location'}}></span></span> |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
6 |
{{/if}} |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
7 |
{{#if langue}} |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
8 |
<span class="filters langue">{{langue}}<span class="fa fa-times" {{action 'deleteTag' 'langue'}}></span></span> |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
9 |
{{/if}} |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
10 |
{{#if discours}} |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
11 |
<span class="filters discours">{{discours}}<span class="fa fa-times" {{action 'deleteTag' 'discours'}}></span></span> |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
12 |
{{/if}} |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
13 |
{{#if dateIntervals}} |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
14 |
{{#each dateIntervals as |item| }} |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
15 |
<span class="filters date" data-dates="{{item}}">{{interval item}}<span class="fa fa-times" {{action 'deleteTag' 'date' item }}></span></span> |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
16 |
{{/each}} |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
17 |
{{/if}} |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
18 |
{{#if thematique}} |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
19 |
<span class="filters thematique">{{thematique}}<span class="fa fa-times" {{action 'deleteTag' 'thematique'}}></span></span> |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
20 |
{{/if}} |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
21 |
</p> |
56
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
22 |
</div> |
189
21b30ee23191
/langue endpoint: 1. Date interval 2. Delete date
Chloe Laisne <chloe.laisne@gmail.com>
parents:
134
diff
changeset
|
23 |
|
56
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
24 |
<div class='result-list'> |
190
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
25 |
{{#each filteredDocuments as |item| }} |
95 | 26 |
<div id="{{item.id}}" {{action "showMore" item}} class='result-item'> |
190
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
27 |
<span class="playing-indicator fa fa-play-circle fa-lg fa-fw pull-right" {{action 'play' item}}></span> |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
28 |
<strong>{{ item.title }}</strong> |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
29 |
<div class="description">{{doc-language url=item.language}}</div> |
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
30 |
<div class="hidden-elt"><button class="pull-right" {{action 'toggleModal' item}}>Details</button></div> |
56
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
31 |
</div> |
190
226ae8f2e8e9
JSLinting on /langues endpoint
Chloe Laisne <chloe.laisne@gmail.com>
parents:
189
diff
changeset
|
32 |
{{/each}} |
16
70e9a764d6d7
add all tabs corresponding to each visualization, update name and structure and create a simple squeleton
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
33 |
</div> |