client/app/books/galleryItem.html
author rougeronj
Tue, 09 Jun 2015 19:10:45 +0200
changeset 146 c6fa8ee3f562
parent 98 e165f7647ae3
child 172 ffdfe491869c
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:
98
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
diff changeset
     1
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
diff changeset
     2
<a href="#/slide/{{slide.id}}"><img ng-src="{{ slide.details.images[0] }}" my-customer /></a>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
diff changeset
     3
<div class="gallery-buttons">
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
diff changeset
     4
    <a ng-click="slide.toggleFavorite()"><span ng-class="{'glyphicon-star': slide.favorite, 'glyphicon-star-empty': !slide.favorite}" class="glyphicon"></span></a>
146
c6fa8ee3f562 refactor idArticle to id_article and idInventory to id_inventory
rougeronj
parents: 98
diff changeset
     5
    <a ng-click="slide.addToBook();"><span class="glyphicon glyphicon-plus"></span></a>
98
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
diff changeset
     6
    <a ng-show="editable" class="pull-right" ng-click="slide.remove(book.slides)"><span class="glyphicon glyphicon-trash"></span></a>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
diff changeset
     7
</div>
e165f7647ae3 Makes an external template for a galleryItem and include them in the templates
rougeronj
parents:
diff changeset
     8
<a href="#/slide/{{slide.id}}"><p>{{ slide.details.title }}</p></a>