X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d36fab2913d10bef4eae2cee7c34875f20311af9..dd3b577bd5bbe4f9d9d1cac8e0f328a16b75f7f5:/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 dfac3a198..4779471de 100644 --- a/app/views/diary_entry/_location.html.erb +++ b/app/views/diary_entry/_location.html.erb @@ -1,11 +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 %> -/ -<%=link_to t('diary_entry.location.edit'), :controller => 'site', :action => 'edit', :lat => location.latitude, :lon => location.longitude, :zoom => 14 %>) +