]> git.openstreetmap.org Git - rails.git/blob - app/views/diary_entry/_location.html.erb
Don't reset the session when the token refers to an invalid user
[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>