]> git.openstreetmap.org Git - rails.git/blob - app/views/diary_entry/_location.html.erb
Add user images to diary view.
[rails.git] / app / views / diary_entry / _location.html.erb
1 <% cache(:controller => 'diary_entry', :action => 'view', :display_name => location.user.display_name, :id => location.id, :part => "location") do %>
2 <%= t 'diary_entry.location.location' %>
3
4 <abbr class="geo" title="<%= number_with_precision(location.latitude, :precision => 4) %>; <%= number_with_precision(location.longitude, :precision => 4) %>">
5 <%= describe_location location.latitude, location.longitude, 14, location.language_code %>
6 </abbr>
7
8 (<%=link_to t('diary_entry.location.view'), :controller => 'site', :action => 'index', :lat => location.latitude, :lon => location.longitude, :zoom => 14 %>
9 /
10 <%=link_to t('diary_entry.location.edit'), :controller => 'site', :action => 'edit', :lat => location.latitude, :lon => location.longitude, :zoom => 14 %>)
11 <% end %>