Asynchronous updates.
[cocanwiki.git] / templates / users.html
index 420f5cb..6d50aea 100644 (file)
@@ -8,17 +8,16 @@
 <link rel="stylesheet" href="/_css/users.css" type="text/css" title="Standard"/>
 </head><body>
 
-<h1>Users</h1>
+<h1><span>Users</span></h1>
 
 <ul class="menu">
 <li class="first"><a href="/_bin/invite_user_form.cmo">Invite someone to join</a></li>
 <li><a href="/_bin/create_user_form.cmo">Create a user account</a></li>
 </ul>
 
-<table id="users">
+<table class="top_table">
 <tr>
-<th rowspan="2"> Username </th>
-<th rowspan="2"> Email address </th>
+<th rowspan="2"> Username, email address </th>
 <th rowspan="2"> Registration </th>
 <th colspan="6"> Permissions </th>
 </tr>
 
 ::table(users)::
 <tr>
-<td> <a href="/_bin/edit_user_form.cmo?userid=::userid::" title="Modify details, permissions, set password, or delete this user"><strong>::name_html::</strong></a> </td>
-<td> ::email_html:: </td>
-<td> ::registration_date_html:: </td>
+<td>
+  <a href="/_bin/edit_user_form.cmo?userid=::userid::" title="Modify details, permissions, set password, or delete this user"><strong>::name_html::</strong></a> <br/>
+  <small> ::email_html:: </small>
+</td>
+<td>
+  ::registration_date_html::::if(invite_pending)::<span class="pending">*</span>::end::
+</td>
 <td> ::if(can_edit)::<img src="/_graphics/tick.png" width="10" height="10" alt="Can edit"/>::end:: </td>
 <td> ::if(can_manage_users)::<img src="/_graphics/tick.png" width="10" height="10" alt="Can manage users"/>::end:: </td>
 <td> ::if(can_manage_contacts)::<img src="/_graphics/tick.png" width="10" height="10" alt="Can manage contacts"/>::end:: </td>
 <td> ::if(can_import_mail)::<img src="/_graphics/tick.png" width="10" height="10" alt="Can import mail"/>::end:: </td>
 </tr>
 ::end::
-
 </table>
 
+<p>
+<span class="pending">*</span> User has been invited, but has not yet
+accepted the invitation.
+</p>
+
 <h2>Explanation of permissions</h2>
 
 <dl>