Revert "Format "ribbons" added"
This reverts commit a6b3d5eff7b7f01f6a8a4a953ac33c7b651dcacf.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user