album info block

This commit is contained in:
tmshv committed 2015-07-09 06:03:16 +03:00
1 parent 9194559e12
commit ee58032962
3 files changed
+29 -2

No files matched your search

+3 -1
View File
@@ -51,7 +51,7 @@ module.exports = function (app) {
}
);
app.controller("AlbumPageController", function ($scope, $http, $routeParams, api, menu) {
app.controller("AlbumPageController", function ($scope, $http, $routeParams, team, api, menu) {
menu.activate('/gallery');
var year_uri = $routeParams.year;
@@ -67,6 +67,8 @@ module.exports = function (app) {
//album.preview_url = preview.content.medium.url;
//album.fotorama = album.content.map(productToFotorama);
album.teacherName = team.name(album['teacher']);
$scope.album = album;
$scope.crumbs = [
{