diff options
Diffstat (limited to 'views/staff/_users_recent.ejs')
| -rw-r--r-- | views/staff/_users_recent.ejs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/views/staff/_users_recent.ejs b/views/staff/_users_recent.ejs new file mode 100644 index 0000000..b452c08 --- /dev/null +++ b/views/staff/_users_recent.ejs @@ -0,0 +1,26 @@ +<table id="users"> + <tr> + <th colspan="4"> + recent users + </th> + </tr> +[[ users.forEach(function(user){ ]] + <tr> + <td> + <a href="/staff/users/[[- user.username ]]"><div style="background-image:url([[- user.photo || '/assets/img/profile.png' ]])" class="avatar"></div></a> + </td> + <td> + <a href="/staff/users/[[- user.username ]]">[[- user.username ]]</a> + </td> + <td class="editLinks"> + <a href="/profile/[[- user.username ]]">[view profile]</a> + </td> + <td> + [[- user.displayName ]] + </td> + <td> + [[- user.last_seen ]] + </td> + </tr> +[[ }) ]] +</table> |
