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

moved user detail icons to the right place.

This commit is contained in:
Techywarrior 2013-03-29 19:39:36 -07:00
parent 58f8a27894
commit d28b5cc2b5
3 changed files with 5 additions and 9 deletions

View file

@ -36,9 +36,12 @@
html += "<img src='css/images/userflyoutdefault.png' />";
}
html += "<h3>" + user.Name + "</h3>";
html += "<h3>" + user.Name;
html += "</a>";
if (user.Configuration.HasPassword) html += '<img src="css/images/userdata/password.png" alt="Password" title="Password" class="userProfileIcon" />';
if (user.Configuration.IsAdministrator) html += '<img src="css/images/userdata/administrator.png" alt="Administrator" title="Administrator" class="userProfileIcon" />';
html += "</h3></a>";
html += "<a onclick='UserProfilesPage.deleteUser(this);' data-userid='" + user.Id + "' data-username='" + user.Name + "' href='#'>Delete</a>";