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:
parent
5046f6e987
commit
65e079b86c
2 changed files with 5 additions and 3 deletions
|
@ -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>';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue