Remove edit links from geo-located diary entries

Jumping straight into the editor from a diary entry is not a
particularly useful thing to do. Fixes trac ticket #3626.
This commit is contained in:
Harry Wood 2011-04-02 15:26:37 +01:00 committed by Tom Hughes
parent 2512337cf5
commit 53fc3e8919

View file

@ -6,6 +6,4 @@
<% end %>
</abbr>
(<%=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 %>)
(<%=link_to t('diary_entry.location.view'), :controller => 'site', :action => 'index', :lat => location.latitude, :lon => location.longitude, :zoom => 14 %>)