album info block
This commit is contained in:
1 parent
9194559e12
commit
ee58032962
3 files changed
+29
-2
No files matched your search
@@ -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 = [
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user