gallery update: years, /gallery... -> /album...;

This commit is contained in:
tmshv committed 2015-07-05 20:42:24 +03:00
1 parent d16bb492aa
commit e8a65edde1
5 files changed
+102 -27

No files matched your search

+18 -6
View File
@@ -1,10 +1,22 @@
<div class="gallery-block" ng-controller="GalleryPageController">
<div class="gallery-album" ng-repeat="album in albums">
<h3><a href="{{album.url}}">{{album.title}}</a></h3>
<a href="{{album.url}}" class="invisible">
<img ng-src="{{album.preview_url}}" alt=""/>
</a>
<!--<div class="fotorama" g-fotorama content="album.content"></div>-->
<div class="gallery-period" ng-repeat="period in years">
<p class="period">{{period.year}}</p>
<div><div class="gallery-album" ng-repeat="album in period.albums">
<h3><a href="{{album.url}}">{{album.title}}</a></h3>
<a href="{{album.url}}" class="invisible">
<img ng-src="{{album.preview_url}}" alt=""/>
</a>
<p>{{album.course}}</p>
</div></div>
</div>
<!--<div class="gallery-album" ng-repeat="album in albums">-->
<!--<h3><a href="{{album.url}}">{{album.title}}</a></h3>-->
<!--<a href="{{album.url}}" class="invisible">-->
<!--<img ng-src="{{album.preview_url}}" alt=""/>-->
<!--</a>-->
<!--<p>{{album.course}}</p>-->
<!--</div>-->
</div>