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>

View file

@ -1549,6 +1549,8 @@ en:
ago: "({{time_in_words_ago}} ago)"
email address: "Email address:"
created from: "Created from:"
status: "Status:"
spam score: "Spam Score:"
description: Description
user location: User location
if set location: "If you set your location, a pretty map and stuff will appear here. You can set your home location on your {{settings_link}} page."