| author | rougeronj |
| Thu, 04 Jun 2015 20:11:40 +0200 | |
| changeset 115 | 8bc06e007fd5 |
| parent 98 | e165f7647ae3 |
| child 146 | c6fa8ee3f562 |
| permissions | -rw-r--r-- |
| 91 | 1 |
|
2 |
||
3 |
<accordion close-others="false"> |
|
4 |
<accordion-group ng-repeat="parentBook in books | filter:{ parent_visit: 'null', idArticle: '!null' } | orderBy: 'date' | limitTo : 1" is-open=true> |
|
5 |
<accordion-heading> |
|
6 |
||
7 |
<a class="title" ng-click="$event.stopPropagation();" href="#/my_visit/{{parentBook.id}}">{{ parentBook.title }}</a> |
|
8 |
<a class="pull-right" ng-click="$event.preventDefault(); $event.stopPropagation(); share($index)"><span class="glyphicon glyphicon-share"></span></a> |
|
9 |
<a class="pull-right" ng-click="$event.preventDefault(); $event.stopPropagation(); edit()"><span class="glyphicon glyphicon-cog"></span></a> |
|
10 |
<a class="pull-right" ng-click="$event.stopPropagation();" href="#/slideshow/{{ parentBook.id }}"><span class="glyphicon glyphicon-eye-open"></span></a> |
|
11 |
<a class="pull-right" ng-click="$event.preventDefault(); $event.stopPropagation(); addBook(parentBook.id)">Créer un Book</a> |
|
12 |
||
13 |
</accordion-heading> |
|
|
98
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
14 |
<p class="nbrObjects">{{parentBook.slides.length}} objets</p> |
| 91 | 15 |
|
|
98
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
16 |
<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
|
17 |
|
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
18 |
<li class="item" ng-class="{'no-img': !slide.details.images[0]}" ng-repeat="slide in parentBook.slides"> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
19 |
<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
|
20 |
</li> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
21 |
</ul> |
|
e165f7647ae3
Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
91
diff
changeset
|
22 |
</accordion-group> |
| 91 | 23 |
</accordion> |
24 |
||
25 |
<a class="btn btn-default" ng-click="addBook()"><span class="glyphicon glyphicon-plus"></span></a> |