]> git.openstreetmap.org Git - rails.git/blob - app/views/diary_entry/_location.html.erb
Make sure the ruby quadtile code give the same result as the C version
[rails.git] / app / views / diary_entry / _location.html.erb
1 <%= t 'diary_entry.location.location' %>
2
3 <a href="<%= url_for :controller => 'site', :action => 'index', :lat => location.latitude, :lon => location.longitude, :zoom => 14 %>">
4 <abbr class="geo" title="<%= number_with_precision(location.latitude, :precision => 4) %>; <%= number_with_precision(location.longitude, :precision => 4) %>">
5 <% cache(:controller => 'diary_entry', :action => 'view', :display_name => location.user.display_name, :id => location.id, :part => "location") do %>
6 <%= describe_location location.latitude, location.longitude, 14, location.language_code %>
7 <% end %>
8 </abbr>
9 </a>