client/app/books/book.html
author rougeronj
Tue, 07 Apr 2015 11:55:11 +0200
changeset 72 ed2ee692ff6f
parent 64 8eb98cd4c29d
child 76 aa0a2d37faca
permissions -rw-r--r--
Update PopulateVisit function to get only the new visits from Jamespot. In case the parameter "parrent_visit" is passed when creating a book, we copy all the slide corresponding to the visit being copied. Refactor PopulateVisite to PopulateVisit.

<p>Books {{idBook}}&nbsp;:</p>

<ul ui-sortable="sortableOptions" ng:model="slides" class="list-unstyled list-inline gallery container">
  <li class="col-md-3 item" ng-repeat="i in slides">
    <div class="img-ctn">
        <img class="img img-responsive image" ng-src="{{ i.details.images }}" />
        <p>{{ i.details.title }}</p>
        <div class="gallery-buttons">
          <a class="btn btn-default" href="#/slide/edit/{{ i.id }}"><span class="glyphicon glyphicon-pencil"></span></a>
          <a class="btn btn-default" href="#/slide/{{ i.id }}"><span class="glyphicon glyphicon-eye-open"></span></a>
          <a class="btn btn-default" ng-click="deleteItem($index)"><span class="glyphicon glyphicon-trash"></span></a>
        </div>
    </div>
  </li>
</ul>