]> git.openstreetmap.org Git - rails.git/blob - app/views/diary_entry/_location.html.erb
Use HTML5 picture element to prefer SVG logo
[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>