1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
This commit is contained in:
Luke Pulverenti 2013-03-30 10:57:37 -04:00
commit ee6f4f2b1e
4 changed files with 9 additions and 7 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>";