+ AlbumCollection component; gallery style fix
This commit is contained in:
1 parent
b71ac27c31
commit
7ceb862dfc
8 files changed
+45
-29
No files matched your search
@@ -0,0 +1,6 @@
|
||||
<div class="album-collection">
|
||||
<h2 class="album-collection__title">{{$ctrl.title}}</h2>
|
||||
<div class="album-collection__body">
|
||||
<gallery-item ng-repeat="album in $ctrl.albums" record="album"></gallery-item>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,8 +1,5 @@
|
||||
<div class="content content_wide" ng-controller="GalleryController">
|
||||
<div class="album-collection" ng-repeat="period in years">
|
||||
<h2 class="album-collection__title">{{period.year}}</h2>
|
||||
<div class="album-collection__body">
|
||||
<gallery-item ng-repeat="album in period.albums" record="album"></gallery-item>
|
||||
</div>
|
||||
</div>
|
||||
<album-collection ng-repeat="i in years"
|
||||
title="{{i.year}}" albums="i.albums"
|
||||
></album-collection>
|
||||
</div>
|
||||
Reference in new issue
Block a user