X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/86061a881662bba3ba889878c5b51c37275f5f45..3b1ef97c69a3279324fd07a6c49d8bf7ba432282:/app/views/users/show.html.erb diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 1c5d3dc64..d0d448f97 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -130,55 +130,55 @@ <% end -%>

- - - <% if can?(:set_status, User) || can?(:destroy, User) %> - + <% end %> + + <% if current_user and current_user.administrator? -%> +
+ <%= t ".email address" %> <%= @user.email %> + <% unless @user.creation_ip.nil? -%> + <%= t ".created from" %> <%= @user.creation_ip %> + <% end -%> + <%= t ".status" %> <%= @user.status.capitalize %> + <%= t ".spam score" %> <%= @user.spam_score %> +
<% end -%> - <%= t ".status" %> <%= @user.status.capitalize %> - <%= t ".spam score" %> <%= @user.spam_score %> - <% end -%> + <% end %>
<%= @user.description.to_html %>