X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/acbc99ac16103e1be5c1ef1841794f259e3b6a03..d66b4b3d2f379ed61ef2b33bb2b0507267827f98:/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..6828cd4dc 100644 --- a/app/views/diary_entry/_location.html.erb +++ b/app/views/diary_entry/_location.html.erb @@ -1,11 +1,7 @@ -<%= t 'diary_entry.location.location' %> +<%= t '.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 %>) +