summaryrefslogtreecommitdiff
path: root/app/views/users/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users/show.html.erb')
-rw-r--r--app/views/users/show.html.erb20
1 files changed, 10 insertions, 10 deletions
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index 1edf6db..9853b08 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -82,6 +82,16 @@
<td><b>Joined</b></td>
<td><%= ago @user.created_at %></td>
</tr>
+ <tr>
+ <td><b>Last seen</b></td>
+ <td>
+ <% if @user.last_seen %>
+ <%= ago @user.last_seen %>
+ <% else %>
+ Never
+ <% end %>
+ </td>
+ </tr>
<% if mod? || @user.is?(current_user) %>
<tr>
<td><b>Last IP</b></td>
@@ -91,16 +101,6 @@
<td><b>Email</b></td>
<td><%= mail_to @user.email, @user.email, :subject => "Redstoner" %></td>
</tr>
- <tr>
- <td><b>Last seen</b></td>
- <td>
- <% if @user.last_seen %>
- <%= ago @user.last_seen %>
- <% else %>
- Never
- <% end %>
- </td>
- </tr>
<% end %>
</tbody>
</table>