]> git.openstreetmap.org Git - rails.git/blob - app/views/diary_entry/_location.html.erb
Enable/disable some context-menu options conditional on zoom
[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', :anchor => "map=14/#{location.latitude}/#{location.longitude}" %>">
4 <abbr class="geo" title="<%= number_with_precision(location.latitude, :precision => 4) %>; <%= number_with_precision(location.longitude, :precision => 4) %>">
5 <%= describe_location location.latitude, location.longitude, 14, location.language_code %>
6 </abbr>
7 </a>