client/app/visites/visites.html
author rougeronj
Tue, 09 Jun 2015 19:10:45 +0200
changeset 146 c6fa8ee3f562
parent 98 e165f7647ae3
child 170 533a98367f99
permissions -rw-r--r--
refactor idArticle to id_article and idInventory to id_inventory remove "/" from resource path
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
91
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
     1
<accordion close-others="false">
146
c6fa8ee3f562 refactor idArticle to id_article and idInventory to id_inventory
rougeronj
parents: 98
diff changeset
     2
    <accordion-group ng-repeat="visit in books | filter:{ parent_visit: 'null', id_article: '!null' } | orderBy: 'date' " is-open=true>
91
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
     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
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
    10
        </accordion-heading>
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
    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
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
    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
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
    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
    
91
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
    24
</accordion>
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
    25
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
    26
<a class="btn btn-default" ng-click="addBook()"><span class="glyphicon glyphicon-plus"></span></a>