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:
parent
2512337cf5
commit
53fc3e8919
1 changed files with 1 additions and 3 deletions
|
@ -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 %>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue