mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Merge pull request #444 from grafixeyehero/mediainfo
Minor update for media info
This commit is contained in:
commit
85f9e79e4b
@ -26,7 +26,7 @@ define(["dialogHelper", "require", "layoutManager", "globalize", "userSettings",
|
|||||||
if (version.Path && user && user.Policy.IsAdministrator) {
|
if (version.Path && user && user.Policy.IsAdministrator) {
|
||||||
html += createAttribute(globalize.translate("MediaInfoPath"), version.Path) + "<br/>";
|
html += createAttribute(globalize.translate("MediaInfoPath"), version.Path) + "<br/>";
|
||||||
}
|
}
|
||||||
if (version.Size && user && user.Policy.IsAdministrator) {
|
if (version.Size) {
|
||||||
var size = (version.Size / (1024 * 1024)).toFixed(0) + " MB";
|
var size = (version.Size / (1024 * 1024)).toFixed(0) + " MB";
|
||||||
html += createAttribute(globalize.translate("MediaInfoSize"), size) + "<br/>";
|
html += createAttribute(globalize.translate("MediaInfoSize"), size) + "<br/>";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user