X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d4a461dc26ce20d2ae806f126c0b43a7214d2156..aebfbdcfbdb772914ca55c1b5f957f62c1c9cf24:/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 91f85f305..fedbad80e 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -1,44 +1,44 @@ <% content_for :heading do %>
- <%= t 'user.view.mapper since' %> <%= l @this_user.creation_time.to_date, :format => :long %> - <% unless @this_user.terms_agreed %> + <%= t 'user.view.mapper since' %> <%= l @user.creation_time.to_date, :format => :long %> + <% unless @user.terms_agreed %> | <%= t 'user.view.ct status' %> - <% if @this_user.terms_seen? -%> + <% if @user.terms_seen? -%> <%= t 'user.view.ct declined' %> <% else -%> <%= t 'user.view.ct undecided' %> @@ -154,27 +154,27 @@
<%= 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)) %>