X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2b4f8e92c969a5508b73ae7af45811a118fda6b1..7f24a2f1d621a4a3e784fd289604a17086b88d6d:/app/views/user/view.html.erb?ds=sidebyside diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index 104b1ec4a..fedbad80e 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -1,104 +1,104 @@ <% content_for :heading do %>
- <%= t 'user.view.mapper since' %> <%= l @this_user.creation_time.to_date, :format => :long %> - | - <%= t 'user.view.ct status' %> - <% if not @this_user.terms_agreed.nil? -%> - <%= t 'user.view.ct accepted', :ago =>time_ago_in_words(@this_user.terms_agreed) %> - <% elsif not @this_user.terms_seen? -%> - <%= t 'user.view.ct undecided' %> - <% else -%> - <%= t 'user.view.ct declined' %> + <%= t 'user.view.mapper since' %> <%= l @user.creation_time.to_date, :format => :long %> + <% unless @user.terms_agreed %> + | + <%= t 'user.view.ct status' %> + <% if @user.terms_seen? -%> + <%= t 'user.view.ct declined' %> + <% else -%> + <%= t 'user.view.ct undecided' %> + <% end -%> <% end -%>
<%= raw(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)) %>
+<%= raw(t 'user.view.if set location', :settings_link => (link_to t('user.view.settings_link_text'), :controller => 'user', :action => 'account', :display_name => current_user.display_name)) %>