summaryrefslogtreecommitdiff
path: root/views/staff/_users_recent.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/staff/_users_recent.ejs')
-rw-r--r--views/staff/_users_recent.ejs8
1 files changed, 8 insertions, 0 deletions
diff --git a/views/staff/_users_recent.ejs b/views/staff/_users_recent.ejs
index ff3fd55..e55fe28 100644
--- a/views/staff/_users_recent.ejs
+++ b/views/staff/_users_recent.ejs
@@ -7,8 +7,16 @@
[[ users.forEach(function(user){ ]]
<tr>
<td>
+ [[ if (user.photo) { ]]
+ <a href="/staff/users/[[- user.username ]]"><div style="background-image:url([[- user.photo ]])" class="avatar"></div></a>
+ [[ } ]]
+ </td>
+ <td>
<a href="/staff/users/[[- user.username ]]">[[- user.username ]]</a>
</td>
+ <td class="editLinks">
+ <a href="/staff/users/[[- user.username ]]">[view profile]</a>
+ </td>
<td>
[[- user.displayName ]]
</td>