X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6ca22de4f2c68e4b14a6e2f0938a8657c33adc31..d39533cd50d4b25ef5cc5e39fd79ee91c02ecc23:/app/views/diary_entries/_location.html.erb diff --git a/app/views/diary_entries/_location.html.erb b/app/views/diary_entries/_location.html.erb index 6828cd4dc..ae48e86b9 100644 --- a/app/views/diary_entries/_location.html.erb +++ b/app/views/diary_entries/_location.html.erb @@ -1,7 +1,9 @@ -<%= t '.location' %> +<%= t ".location" %> -"> - -<%= describe_location location.latitude, location.longitude, 14, location.language_code %> - - +<%= link_to root_path(:anchor => "map=14/#{location.latitude}/#{location.longitude}") do + tag.abbr :class => "geo", + :title => t(".coordinates", :latitude => number_with_precision(location.latitude, :precision => 4), + :longitude => number_with_precision(location.longitude, :precision => 4)) do + describe_location location.latitude, location.longitude, 14, location.language_code + end + end %>