]> git.openstreetmap.org Git - rails.git/blob - app/views/diary_entries/_location.html.erb
Swap older/newer diary entries buttons
[rails.git] / app / views / diary_entries / _location.html.erb
1 <%= t ".location" %>
2
3 <a href="<%= url_for :controller => "site", :action => "index", :anchor => "map=14/#{location.latitude}/#{location.longitude}" %>">
4 <abbr class="geo" title="<%= t ".coordinates", :latitude => number_with_precision(location.latitude, :precision => 4), :longitude => number_with_precision(location.longitude, :precision => 4) %>">
5 <%= describe_location location.latitude, location.longitude, 14, location.language_code %>
6 </abbr>
7 </a>