X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/53fc3e8919baa4493880484984446f3b9c607196..3700b534e404a25ef5db1bb8283bae3cddb818fb:/app/views/diary_entry/_location.html.erb diff --git a/app/views/diary_entry/_location.html.erb b/app/views/diary_entry/_location.html.erb index 59ab013f7..4779471de 100644 --- a/app/views/diary_entry/_location.html.erb +++ b/app/views/diary_entry/_location.html.erb @@ -1,9 +1,9 @@ <%= t 'diary_entry.location.location' %> + <% cache(:controller => 'diary_entry', :action => 'view', :display_name => location.user.display_name, :id => location.id, :part => "location") do %> <%= describe_location location.latitude, location.longitude, 14, location.language_code %> <% end %> - -(<%=link_to t('diary_entry.location.view'), :controller => 'site', :action => 'index', :lat => location.latitude, :lon => location.longitude, :zoom => 14 %>) +