client/app/books/galleryItem.html
author ymh <ymh.work@gmail.com>
Wed, 08 Jan 2020 17:49:53 +0100
changeset 205 147583c43f0d
parent 172 ffdfe491869c
permissions -rw-r--r--
add poetry on sync
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
172
ffdfe491869c uncomment jshint and fix minor bug
rougeronj
parents: 146
diff changeset
     2
<a href="#/slide/{{slide.id}}"><img ng-src="{{ slide.details.images[0] }}" img-type /></a>
98
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>