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

Revert "Format "ribbons" added"

This reverts commit a6b3d5eff7b7f01f6a8a4a953ac33c7b651dcacf.
This commit is contained in:
Tim Hobbs 2014-03-03 16:01:38 -08:00
parent 8ef5062d9f
commit e2bd44c0bd
2 changed files with 0 additions and 79 deletions

View file

@ -877,30 +877,6 @@
html += '<a data-itemid="' + item.Id + '" class="' + cssClass + '" href="' + LibraryBrowser.getHref(item, options.context) + '">';
// Ribbon
if (options.context == "movies") {
// This would be much better if specified in the json payload
// Another nice thing to have in the payload would be 720 vs 1080
// Then, rather than "HD" it could display the specific HD format
// "HD" doesn't do much good if you have the 720p and 1080p version
var format = "SD";
var ribbonColor = "ribbon-red";
if (item.IsHD) {
format = "HD";
ribbonColor = "ribbon-blue";
}
if (item.Video3DFormat) {
format = "3D";
ribbonColor = "ribbon-3d";
}
html += '<div class="ribbon-wrapper">';
html += '<div class="ribbon ' + ribbonColor + '">';
html += format;
html += '</div>';
html += '</div>';
}
var style = "";
if (imgUrl) {