diff --git a/management/templates/users.html b/management/templates/users.html
index a34f8350..1e420c52 100644
--- a/management/templates/users.html
+++ b/management/templates/users.html
@@ -2,12 +2,12 @@
Add a mail user
@@ -38,13 +38,6 @@
Existing mail users
-
-
- |
- Email Address (Also the user’s login username.) |
- Privileges |
-
-
@@ -52,19 +45,25 @@
-
-
-
-
- |
-
+
- To restore account, create a new account with this email address.
+
+
+
+
+
+
+
+ archive account
+
+
+ To restore account, create a new account with this email address.
+
+
|
- |
@@ -88,22 +87,22 @@ function show_users() {
n.find('td.email .address').text(r[i].email)
$('#user_table tbody').append(n);
- if (r[i].status == 'inactive') continue;
+ if (r[i].status == 'inactive') continue;
var add_privs = ["admin"];
for (var j = 0; j < r[i].privileges.length; j++) {
- var p = $("");
+ var p = $(" (remove privilege) |");
p.find('span.name').text(r[i].privileges[j]);
- n.find('td.privs').append(p);
+ n.find('.privs').append(p);
if (add_privs.indexOf(r[i].privileges[j]) >= 0)
add_privs.splice(add_privs.indexOf(r[i].privileges[j]), 1);
}
for (var j = 0; j < add_privs.length; j++) {
- var p = $("");
+ var p = $("make | ");
p.find('span.name').text(add_privs[j]);
- n.find('.email .actions').append(p);
+ n.find('.add-privs').append(p);
}
if (r[i].aliases && r[i].aliases.length > 0) {