mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
password and admin icons on edit user page
This commit is contained in:
parent
a42f547c00
commit
58f8a27894
5 changed files with 12 additions and 6 deletions
|
@ -85,6 +85,12 @@
|
|||
$('#chkForcedSubtitlesOnly', page).checked(user.Configuration.UseForcedSubtitlesOnly || false).checkboxradio("refresh");
|
||||
$('#chkIsAdmin', page).checked(user.Configuration.IsAdministrator || false).checkboxradio("refresh");
|
||||
|
||||
var userProfileIcons = '';
|
||||
if (user.Configuration.HasPassword) userProfileIcons += '<img src="css/images/userdata/password.png" alt="Password" title="Password" class="userProfileIcon" />';
|
||||
if (user.Configuration.IsAdministrator) userProfileIcons += '<img src="css/images/userdata/administrator.png" alt="Administrator" title="Administrator" class="userProfileIcon" />';
|
||||
|
||||
$('#fldIcons', page).html(userProfileIcons);
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue