Makes album a component.
Should not be a directive, but a simple component
This commit is contained in:
15
webapp/js/components/album/album.html
Normal file
15
webapp/js/components/album/album.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<a href="" ng-click="$ctrl.openAlbumModal()">
|
||||
<div class="cover-container">
|
||||
<div class="cover">
|
||||
<img class="img-responsive img-rounded" alt="{{$ctrl.album.titleDisplay}}" ng-src="{{$ctrl.album.CoverURL}}"/>
|
||||
<div class="over-img-rating">
|
||||
<uib-rating ng-if="$ctrl.render" ng-model="$ctrl.album.Note" readonly="true"></uib-rating>
|
||||
</div>
|
||||
<div class="over-img-ref">{{$ctrl.album.ref}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="album-ellipsis">
|
||||
<p>{{$ctrl.album.serieDisplay || '-'}}</p>
|
||||
<p>{{$ctrl.album.titleDisplay}}</p>
|
||||
</div>
|
||||
</a>
|
||||
Reference in New Issue
Block a user