]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/dashboards/_contact.html.erb
Split the non-public information off of the profile page
[rails.git] / 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 c7e10c060c2c655eb4076f6d0d301ff8bff3e437..3b46a3b4566b610ecbee25401984239663ffbb03 100644 (file)
@@ -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 %>
     </p>