]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/_location.html.erb
More whitespace fixes. Attempting to get tests to pass.
[rails.git] / app / views / diary_entry / _location.html.erb
index 4779471de2184b8b0c0d879abad9353b79433a76..a5db0cdca949be7df2846819f6b75f47fb71a311 100644 (file)
@@ -1,9 +1,7 @@
 <%= t 'diary_entry.location.location' %>
 
-<a href="<%= url_for :controller => 'site', :action => 'index', :lat => location.latitude, :lon => location.longitude, :zoom => 14 %>">
+<a href="<%= url_for :controller => 'site', :action => 'index', :anchor => "map=14/#{location.latitude}/#{location.longitude}" %>">
 <abbr class="geo" title="<%= number_with_precision(location.latitude, :precision => 4) %>; <%= number_with_precision(location.longitude, :precision => 4) %>">
-<% cache(:controller => 'diary_entry', :action => 'view', :display_name => location.user.display_name, :id => location.id, :part => "location") do %>
 <%= describe_location location.latitude, location.longitude, 14, location.language_code %>
-<% end %>
 </abbr>
 </a>