X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/573991e5a9997d5ea14e430ae58a40ef0eaecd34..4377418d53a668d369b38f298db46cb7ef68b0de:/app/views/user/view.html.erb diff --git a/app/views/user/view.html.erb b/app/views/user/view.html.erb index da5804304..eb8406993 100644 --- a/app/views/user/view.html.erb +++ b/app/views/user/view.html.erb @@ -11,6 +11,8 @@ <%= link_to t('user.view.my traces'), :controller => 'trace', :action=>'mine' %> <%= number_with_delimiter(@user.traces.size) %> | + <%= link_to t('user.view.my notes'), :controller => 'note', :action=> 'mine' %> + | <%= link_to t('user.view.my diary'), :controller => 'diary_entry', :action => 'list', :display_name => @user.display_name %> | <%= link_to t('user.view.my comments' ), :controller => 'diary_entry', :action => 'comments', :display_name => @user.display_name %> @@ -33,6 +35,8 @@ <%= link_to t('user.view.traces'), :controller => 'trace', :action => 'list', :display_name => @this_user.display_name %> <%= number_with_delimiter(@this_user.traces.size) %> | + <%= link_to t('user.view.notes'), :controller => 'note', :action=> 'mine' %> + | <%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :display_name => @this_user.display_name %> | @@ -78,16 +82,20 @@ <% end %> -
<%= 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) %>
+<%= t 'user.view.ct status' %> +
+<%= 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) %> +<%= 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' %> <% end -%> +
<% if @user and @user.administrator? -%> @@ -99,10 +107,6 @@<%= t 'user.view.spam score' %> <%= @this_user.spam_score %>
<% end -%> -