X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/60a294c40e341af16fa2eac6de5df2b0917a74be..b6ae16bc83e4c9f41b17266646917cc0c380d8a4:/app/views/user/account.rhtml diff --git a/app/views/user/account.rhtml b/app/views/user/account.rhtml index 90433f825..77930d0b0 100644 --- a/app/views/user/account.rhtml +++ b/app/views/user/account.rhtml @@ -10,9 +10,30 @@

Users in your area

-These users are mapping 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? %>