X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/acd72861ed8ad46d759a6e509f3e7c459db1a4f5..a7d304d20f171030d8a8c5f523c9039a02f832f2:/app/views/user/view.html.erb?ds=inline diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index 865c38959..b333b5c67 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -1,6 +1,4 @@ -<% if @this_user.image %> - <%= image_tag url_for_file_column(@this_user, "image"), :style => "float: right; margin-top: 19px", :class => "user_image" %> -<% end %> +<%= user_image @this_user, :style => "float: right" %>
<%= 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, :format => :friendly %> <%= 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 %>
@@ -89,7 +87,7 @@<%= t 'user.view.if set location', :settings_link => (link_to t('user.view.settings_link_text'), :controller => 'user', :action => 'account', :display_name => @user.display_name) %>