Show administrators the status and spam score for a user

This commit is contained in:
Tom Hughes 2010-05-01 17:30:37 +01:00
parent 980c2fa301
commit 200a1ab5c7
2 changed files with 4 additions and 0 deletions

View file

@ -81,6 +81,8 @@
<% if @user and @user.administrator? %>
<p><b><%= t 'user.view.email address' %></b> <%= @this_user.email %></p>
<p><b><%= t 'user.view.created from' %></b> <%= @this_user.creation_ip %></p>
<p><b><%= t 'user.view.status' %></b> <%= @this_user.status.capitalize %></p>
<p><b><%= t 'user.view.spam score' %></b> <%= @this_user.spam_score %></p>
<% end %>
<h3><%= t 'user.view.description' %></h3>