mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove user policy
This commit is contained in:
parent
a4dabc1644
commit
baa87d2dfb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue