From 0170bf99ad1ba397a3b581e0fea8762af6198489 Mon Sep 17 00:00:00 2001 From: Alexandre Tuleu Date: Mon, 15 Feb 2016 16:24:24 +0100 Subject: [PATCH] Makes album ratio an option --- webapp/js/components/album/album.html | 19 ++++++++++++------- webapp/js/components/album/album.js | 4 +++- webapp/js/views/recents/recents.html | 2 +- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/webapp/js/components/album/album.html b/webapp/js/components/album/album.html index 4a994c9..c673bcf 100644 --- a/webapp/js/components/album/album.html +++ b/webapp/js/components/album/album.html @@ -1,12 +1,17 @@ -
-
- {{$ctrl.album.titleDisplay}} -
- -
-
{{$ctrl.album.ref}}
+
+ {{$ctrl.album.titleDisplay}} +
+
+
{{$ctrl.album.ref}}
+
+
+ {{$ctrl.album.titleDisplay}} +
+ +
+
{{$ctrl.album.ref}}

{{$ctrl.album.serieDisplay || '-'}}

diff --git a/webapp/js/components/album/album.js b/webapp/js/components/album/album.js index 19147dc..036c682 100644 --- a/webapp/js/components/album/album.js +++ b/webapp/js/components/album/album.js @@ -1,4 +1,5 @@ var album = angular.module('satbd.satellite.bar.components.album', [ + 'satbd.satellite.bar.directives.responsive-ratio', 'ui.bootstrap', 'ngAnimate']); @@ -34,7 +35,8 @@ album.component('album', { templateUrl: 'js/components/album/album.html', controller: AlbumCtrl, bindings: { - id: '=albumId' + id: ' Albums Récents
- +