From: Tom Hughes Date: Sat, 1 May 2010 16:30:37 +0000 (+0100) Subject: Show administrators the status and spam score for a user X-Git-Tag: live~6300^2~16 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/200a1ab5c7b26c4e59630f5f48c3d08320376ebc Show administrators the status and spam score for a user --- 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."