mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
This commit is contained in:
commit
64938a04c1
3 changed files with 31 additions and 2 deletions
|
@ -225,7 +225,7 @@
|
|||
LibraryBrowser.renderStudios($('#itemStudios', page), item, context);
|
||||
renderUserDataIcons(page, item);
|
||||
LibraryBrowser.renderLinks($('#itemLinks', page), item);
|
||||
|
||||
|
||||
if (item.CriticRatingSummary) {
|
||||
$('#criticRatingSummary', page).show();
|
||||
$('#criticRatingSummaryText', page).html(item.CriticRatingSummary);
|
||||
|
@ -233,6 +233,27 @@
|
|||
} else {
|
||||
$('#criticRatingSummary', page).hide();
|
||||
}
|
||||
|
||||
renderTags(page, item);
|
||||
}
|
||||
|
||||
function renderTags(page, item) {
|
||||
|
||||
if (item.Tags && item.Tags.length) {
|
||||
|
||||
var html = '';
|
||||
|
||||
for (var i = 0, length = item.Tags.length; i < length; i++) {
|
||||
|
||||
html += '<div class="itemTag">' + item.Tags[i] + '</div>';
|
||||
|
||||
}
|
||||
|
||||
$('#itemTags', page).show().html(html);
|
||||
|
||||
} else {
|
||||
$('#itemTags', page).hide();
|
||||
}
|
||||
}
|
||||
|
||||
function renderChildren(page, item) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue