X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7d46f5db6004f1e0555150c3f97c82185d76b837:/app/views/users/_contact.html.erb..cb7b79a58f0337ab28b41ed5105215de302d3f73:/app/views/dashboards/_contact.html.erb diff --git a/app/views/users/_contact.html.erb b/app/views/dashboards/_contact.html.erb similarity index 93% rename from app/views/users/_contact.html.erb rename to app/views/dashboards/_contact.html.erb index c7e10c060..3b46a3b45 100644 --- a/app/views/users/_contact.html.erb +++ b/app/views/dashboards/_contact.html.erb @@ -12,9 +12,9 @@ <% if @user.home_lon and @user.home_lat and contact.home_lon and contact.home_lat %> <% distance = @user.distance(contact) %> <% if distance < 1 %> - (<%= t "users.show.m away", :count => (distance * 1000).round %>) + (<%= t ".m away", :count => (distance * 1000).round %>) <% else %> - (<%= t "users.show.km away", :count => distance.round %>) + (<%= t ".km away", :count => distance.round %>) <% end %> <% end %>