author | nowmad@nowmads-macbook-pro.local |
Fri, 18 Dec 2015 18:09:42 +0100 | |
changeset 78 | 08765d161e96 |
parent 73 | 79a23f4911f9 |
child 82 | d489885d116d |
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"> |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
2 |
<h2>This is the results</h2> |
52
87b6a104de8e
add tags to results template and remove the unused controller (the partial template uses the application controller)
nowmad@nowmads-macbook-pro.local
parents:
41
diff
changeset
|
3 |
<p> |
56
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
4 |
Tags: |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
5 |
{{#if location}} |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
6 |
<span>{{location}}<button {{action 'deleteTag' 'location'}}>✗</button></span> |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
7 |
{{/if}} |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
8 |
{{#if langue}} |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
9 |
<span>{{langue}}<button {{action 'deleteTag' 'langue'}}>✗</button></span> |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
10 |
{{/if}} |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
11 |
{{#if discours}} |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
12 |
<span>{{discours}}<button {{action 'deleteTag' 'discours'}}>✗</button></span> |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
13 |
{{/if}} |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
14 |
{{#if date}} |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
15 |
<span>{{date}}<button {{action 'deleteTag' 'date'}}>✗</button></span> |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
16 |
{{/if}} |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
17 |
{{#if thematique}} |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
18 |
<span>{{thematique}}<button {{action 'deleteTag' 'thematique'}}>✗</button></span> |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
19 |
{{/if}} |
52
87b6a104de8e
add tags to results template and remove the unused controller (the partial template uses the application controller)
nowmad@nowmads-macbook-pro.local
parents:
41
diff
changeset
|
20 |
</p> |
56
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
21 |
</div> |
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
22 |
<div class='result-list'> |
52
87b6a104de8e
add tags to results template and remove the unused controller (the partial template uses the application controller)
nowmad@nowmads-macbook-pro.local
parents:
41
diff
changeset
|
23 |
{{#each filteredSounds as |item| }} |
66
b7e750ed3ef5
show more information in result list and add action to play or to show more details about the item
nowmad@23.1.168.192.in-addr.arpa
parents:
56
diff
changeset
|
24 |
<div id="{{item.id}}" {{action "details" item}} class='result-item'> |
78
08765d161e96
change path to assets so it fit with the prod path
nowmad@nowmads-macbook-pro.local
parents:
73
diff
changeset
|
25 |
<span class="play-icon" {{action 'play' item}}></span> |
66
b7e750ed3ef5
show more information in result list and add action to play or to show more details about the item
nowmad@23.1.168.192.in-addr.arpa
parents:
56
diff
changeset
|
26 |
<strong>{{ item.title }}</strong> - {{item.interviewer}} |
b7e750ed3ef5
show more information in result list and add action to play or to show more details about the item
nowmad@23.1.168.192.in-addr.arpa
parents:
56
diff
changeset
|
27 |
<div class="description"> |
b7e750ed3ef5
show more information in result list and add action to play or to show more details about the item
nowmad@23.1.168.192.in-addr.arpa
parents:
56
diff
changeset
|
28 |
{{item.description}} |
b7e750ed3ef5
show more information in result list and add action to play or to show more details about the item
nowmad@23.1.168.192.in-addr.arpa
parents:
56
diff
changeset
|
29 |
</div> |
56
c4a022ba3fc3
improves fixtures and result list
nowmad@nowmads-macbook-pro.local
parents:
52
diff
changeset
|
30 |
</div> |
41
b6815b3d46bd
pass arguments to results components
nowmad@nowmads-macbook-pro.local
parents:
16
diff
changeset
|
31 |
{{/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
|
32 |
</div> |