1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

added a photo view

This commit is contained in:
Luke Pulverenti 2015-04-19 11:54:20 -04:00
parent 0f0fdd1bd1
commit 6daaed3bcc
11 changed files with 301 additions and 12 deletions

View file

@ -484,10 +484,6 @@
return 'collections.html?topParentId=' + item.Id;
}
if (item.CollectionType == 'trailers') {
return "itemlist.html?parentId=" + item.Id;
}
if (item.CollectionType == 'tvshows') {
return 'tvrecommended.html?topParentId=' + item.Id;
}
@ -502,11 +498,17 @@
if (item.CollectionType == 'playlists') {
return 'playlists.html?topParentId=' + item.Id;
}
if (item.CollectionType == 'photos') {
return 'photos.html?topParentId=' + item.Id;
}
}
if (item.Type == 'CollectionFolder') {
return 'itemlist.html?topParentId=' + item.Id + '&parentid=' + item.Id;
}
if (item.Type == "PhotoAlbum" && context == 'photos') {
return "photos.html?parentId=" + id;
}
if (item.Type == "Playlist") {
return "playlistedit.html?id=" + id;
}