X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/fc9df968fc1403a2130e5774552c430b2c0acf59..921c150b631a9aae5ddff678f3b9368f68f5190e:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index 4a8fde862..107535f00 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -43,12 +43,13 @@ <% end %> -<% if @this_user != nil %> -

-<%= t 'user.view.mapper since' %> <%= l @this_user.creation_time %> <%= t 'user.view.ago', :time_in_words_ago => time_ago_in_words(@this_user.creation_time) %> -

+

<%= t 'user.view.mapper since' %> <%= l @this_user.creation_time %> <%= t 'user.view.ago', :time_in_words_ago => time_ago_in_words(@this_user.creation_time) %>

+ +<% if @user and @user.administrator? %> +

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

+

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

<% end %> - +

<%= t 'user.view.user image heading' %>

<% if @this_user.image %> <%= image_tag url_for_file_column(@this_user, "image") %>