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

hide metadata manager from non-admins

This commit is contained in:
Luke Pulverenti 2013-11-29 14:31:57 -05:00
parent 5046f6e987
commit 65e079b86c
2 changed files with 5 additions and 3 deletions

View file

@ -318,11 +318,13 @@
html += '<div class="editorTile imageEditorTile">';
html += '<div style="height:100px;vertical-align:top;background-repeat:no-repeat;background-size:contain;background-image:url(\'' + LibraryBrowser.getImageUrl(currentItem, image.ImageType, image.ImageIndex, { maxwidth: 300 }) + '\');"></div>';
html += '<div style="height:108px;vertical-align:top;background-repeat:no-repeat;background-size:contain;background-image:url(\'' + LibraryBrowser.getImageUrl(currentItem, image.ImageType, image.ImageIndex, { maxheight: 216 }) + '\');"></div>';
html += '<div>';
html += '<p>' + image.ImageType + '</p>';
if (image.ImageType !== "Backdrop" && image.ImageType !== "Screenshot") {
html += '<p>' + image.ImageType + '</p>';
}
html += '<p>' + image.Width + ' X ' + image.Height + '</p>';