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

update shared content page to new layout

This commit is contained in:
Luke Pulverenti 2015-08-21 13:45:56 -04:00
parent c0918e89de
commit 1e871a165c
5 changed files with 75 additions and 62 deletions

View file

@ -426,7 +426,7 @@
renderTags(page, item);
renderSeriesAirTime(page, item, context);
renderSeriesAirTime(page, item, isStatic);
if (item.Players) {
$('#players', page).show().html(item.Players + ' Player');
@ -664,7 +664,7 @@
});
}
function renderSeriesAirTime(page, item, context) {
function renderSeriesAirTime(page, item, isStatic) {
if (item.Type != "Series") {
$('#seriesAirTime', page).hide();
@ -685,7 +685,12 @@
}
if (item.Studios.length) {
html += ' on <a class="textlink" href="itemdetails.html?id=' + item.Studios[0].Id + '">' + item.Studios[0].Name + '</a>';
if (isStatic) {
html += ' on ' + item.Studios[0].Name;
} else {
html += ' on <a class="textlink" href="itemdetails.html?id=' + item.Studios[0].Id + '">' + item.Studios[0].Name + '</a>';
}
}
if (html) {