]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/_common_details.html.erb
Moved note description to the sidebar header
[rails.git] / app / views / browse / _common_details.html.erb
1 <h4>
2   <% if common_details.changeset.tags['comment'].present? %>
3     <%= linkify(h(common_details.changeset.tags['comment'])) %>
4   <% else %>
5     (no comment)
6   <% end %>
7 </h4>
8
9 <div class="details">
10   <% if common_details.visible? %>
11     <%= t 'browse.common_details.edited' %>
12   <% else %>
13     <%= t 'browse.common_details.deleted' %>
14   <% end %>
15
16   <abbr><%= distance_of_time_in_words_to_now(common_details.timestamp) %> ago</abbr>
17
18   <% if common_details.changeset.user.data_public? %>
19     <%= t 'browse.common_details.by' %>
20     <%= link_to h(common_details.changeset.user.display_name), :controller => "user", :action => "view", :display_name => common_details.changeset.user.display_name %>
21   <% end %>
22 </div>
23
24 <div class="details">
25   <%= t 'browse.common_details.version' %>
26   #<%= h(common_details.version) %>
27   &middot;
28   <%= t 'browse.common_details.in_changeset' %>
29   #<%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %>
30 </div>
31
32 <%= render :partial => "tag_details", :object => common_details.tags %>