client/app/my_visit/my_visit.html
author rougeronj
Thu, 04 Jun 2015 20:11:40 +0200
changeset 115 8bc06e007fd5
parent 98 e165f7647ae3
child 146 c6fa8ee3f562
permissions -rw-r--r--
copy-server ammico client changes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
91
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
     1
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
     2
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
     3
<accordion close-others="false">
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
     4
  <accordion-group ng-repeat="parentBook in books | filter:{ parent_visit: 'null', idArticle: '!null' } | orderBy: 'date' | limitTo : 1" is-open=true>
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
     5
    <accordion-heading>
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
     6
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
     7
      <a class="title" ng-click="$event.stopPropagation();" href="#/my_visit/{{parentBook.id}}">{{ parentBook.title }}</a>
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
     8
      <a class="pull-right" ng-click="$event.preventDefault(); $event.stopPropagation(); share($index)"><span class="glyphicon glyphicon-share"></span></a> 
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
     9
      <a class="pull-right" ng-click="$event.preventDefault(); $event.stopPropagation(); edit()"><span class="glyphicon glyphicon-cog"></span></a>
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
    10
      <a class="pull-right" ng-click="$event.stopPropagation();" href="#/slideshow/{{ parentBook.id }}"><span class="glyphicon glyphicon-eye-open"></span></a>
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
    11
      <a class="pull-right" ng-click="$event.preventDefault(); $event.stopPropagation(); addBook(parentBook.id)">Créer un Book</a>
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
    12
      
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
    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
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
    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
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
    23
</accordion>
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
    24
f7a844a9079e merge the changes of Camille
rougeronj
parents:
diff changeset
    25
<a class="btn btn-default" ng-click="addBook()"><span class="glyphicon glyphicon-plus"></span></a>