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

display rt summary

This commit is contained in:
Luke Pulverenti 2013-05-06 00:50:40 -04:00
parent 4c30399fde
commit 70e4ec0669
5 changed files with 48 additions and 16 deletions

View file

@ -203,7 +203,7 @@
LibraryBrowser.renderOverview($('#itemOverview', page), item);
if (item.CommunityRating) {
if (item.CommunityRating || item.CriticRating) {
$('#itemCommunityRating', page).html(LibraryBrowser.getRatingHtml(item)).show();
} else {
$('#itemCommunityRating', page).hide();
@ -225,6 +225,14 @@
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);
} else {
$('#criticRatingSummary', page).hide();
}
}
function renderChildren(page, item) {