diff --git a/dashboard-ui/edituser.html b/dashboard-ui/edituser.html
index e2ba57e5c5..5a6a0695f4 100644
--- a/dashboard-ui/edituser.html
+++ b/dashboard-ui/edituser.html
@@ -19,7 +19,6 @@
-
diff --git a/dashboard-ui/scripts/edituserpage.js b/dashboard-ui/scripts/edituserpage.js
index 1f4bcdf283..80a9ddeb46 100644
--- a/dashboard-ui/scripts/edituserpage.js
+++ b/dashboard-ui/scripts/edituserpage.js
@@ -85,12 +85,6 @@
$('#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 += '
';
- if (user.Configuration.IsAdministrator) userProfileIcons += '
';
-
- $('#fldIcons', page).html(userProfileIcons);
-
Dashboard.hideLoadingMsg();
},
diff --git a/dashboard-ui/scripts/userprofilespage.js b/dashboard-ui/scripts/userprofilespage.js
index 57e6f7c747..56295e9139 100644
--- a/dashboard-ui/scripts/userprofilespage.js
+++ b/dashboard-ui/scripts/userprofilespage.js
@@ -36,9 +36,12 @@
html += "
";
}
- html += "" + user.Name + "
";
+ html += "" + user.Name;
- html += "";
+ if (user.Configuration.HasPassword) html += '
';
+ if (user.Configuration.IsAdministrator) html += '
';
+
+ html += "
";
html += "Delete";