| author | rougeronj |
| Fri, 16 Oct 2015 12:16:20 +0200 | |
| changeset 189 | 0ffed992c271 |
| parent 170 | 533a98367f99 |
| permissions | -rw-r--r-- |
| 189 | 1 |
<accordion ng-show="visits.length" close-others="false"> |
|
170
533a98367f99
filter book in the request through 'type' parameter instead of filtering on client side
rougeronj
parents:
146
diff
changeset
|
2 |
<accordion-group ng-repeat="visit in visits | orderBy: 'date' " is-open=true> |
| 91 | 3 |
|
|
98
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
4 |
<accordion-heading> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
5 |
<a class="title" ng-click="$event.stopPropagation();" href="#/visites/{{ visit.id }}">{{ visit.title }}</a> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
6 |
<a class="pull-right" ng-click="$event.preventDefault(); $event.stopPropagation();"><span class="glyphicon glyphicon-share"></span></a> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
7 |
<a class="pull-right" ng-click="$event.preventDefault(); $event.stopPropagation(); edit()"><span class="glyphicon glyphicon-cog"></span></a> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
8 |
<a class="pull-right" ng-click="$event.stopPropagation();" href="#/slideshow/{{ visit.id }}"><span class="glyphicon glyphicon-eye-open"></span></a> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
9 |
<a class="pull-right" ng-click="$event.preventDefault(); $event.stopPropagation(); addBook(visit.id)">Créer un Book</a> |
| 91 | 10 |
</accordion-heading> |
11 |
||
|
98
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
12 |
<p class="nbrObjects">{{visit.count}} objets</p> |
| 91 | 13 |
|
|
98
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
14 |
<ul ng:model="slides" class="list-unstyled list-inline gallery container-fluid"> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
15 |
|
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
16 |
<li class="item" ng-class="{'no-img': !slide.details.images[0]}" ng-repeat="slide in visit.slides"> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
17 |
<ng-include src="'books/galleryItem.html'"></ng-include> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
18 |
</li> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
19 |
</ul> |
| 91 | 20 |
|
|
98
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
21 |
|
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
22 |
</accordion-group> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
23 |
|
| 189 | 24 |
</accordion> |
25 |
||
26 |
<p ng-hide="visits.length"> |
|
27 |
Vous n'avez pas encore effectué de visites |
|
28 |
</p> |
|
29 |