X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/61ae5e7af0dd759ddb1acfcea10adcbede9da58c..ce37f1ab6585ace95c43c2bd5b40e362cc985788:/app/views/user/account.rhtml diff --git a/app/views/user/account.rhtml b/app/views/user/account.rhtml index 257e8c47a..77930d0b0 100644 --- a/app/views/user/account.rhtml +++ b/app/views/user/account.rhtml @@ -4,10 +4,37 @@ email<%= @user.email %> display name<%= @user.display_name %> (<%= link_to 'change...', :controller => 'user', :action => 'edit' %>) account created<%= @user.creation_time %> (<%= time_ago_in_words(@user.creation_time) %> ago) - user home<%= @user.home_node_id %> (<%= link_to 'change...', :controller => 'user', :action => 'edit' %>) + user homeLatitude: <%=@user.home_lat%> Longitude <%=@user.home_lon%> (<%= link_to 'change...', :controller => 'user', :action => 'edit' %>) description<%= simple_format(@user.description) %> (<%= link_to 'change...', :controller => 'user', :action => 'edit' %>) +

Users in your area

+ +<% if @user.nearby.empty? %> +There are no users mapping in your area. Better go out and spread the word about OSM! +<% else %> + +

These users are mapping in your area:

+ + + + + + +<% @user.nearby(1,1).each do |nearby| %> + + + + + + +<%end%> +
EmailNameContact
<%= nearby.email %><%= nearby.display_name %>FIXME: send user an email
+ +<%end%> +
+FIXME: OL Map showing the users on +

Privacy

<% if @user.data_public? %> All your edits are public.