From 200a1ab5c7b26c4e59630f5f48c3d08320376ebc Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 1 May 2010 17:30:37 +0100 Subject: [PATCH] Show administrators the status and spam score for a user --- app/views/user/view.html.erb | 2 ++ config/locales/en.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index 07c31a1e2..b5890fca2 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -81,6 +81,8 @@ <% if @user and @user.administrator? %>

<%= t 'user.view.email address' %> <%= @this_user.email %>

<%= t 'user.view.created from' %> <%= @this_user.creation_ip %>

+

<%= t 'user.view.status' %> <%= @this_user.status.capitalize %>

+

<%= t 'user.view.spam score' %> <%= @this_user.spam_score %>

<% end %>

<%= t 'user.view.description' %>

diff --git a/config/locales/en.yml b/config/locales/en.yml index ae3b0d566..3c5073e21 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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." -- 2.39.5