X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b650a2272544c51ee9ec8bce33bcb113bfd579e8..10c3230e2716d5791e1007e5762988fec57e0a4d:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index fc7b59929..119fe10a4 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -2,50 +2,50 @@
<%= 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' %> + <% unless @this_user.terms_agreed %> + | + <%= t 'user.view.ct status' %> + <% if @this_user.terms_seen? -%> + <%= t 'user.view.ct declined' %> + <% else -%> + <%= t 'user.view.ct undecided' %> + <% end -%> <% end -%>
@@ -158,7 +158,7 @@