]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/_common_details.html.erb
959820bfd4ea32a0d2ba107948ce95d91d300f34
[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     <%= t 'browse.no_comment' %>
6   <% end %>
7 </h4>
8
9 <div class="details">
10   <%=
11       t "browse.#{common_details.visible? ? :edited : :deleted}_by_html",
12         :time => distance_of_time_in_words_to_now(common_details.timestamp),
13         :user => changeset_user_link(common_details.changeset),
14         :title => l(common_details.timestamp)
15   %>
16 </div>
17
18 <div class="details">
19   <%= t 'browse.version' %>
20   #<%= h(common_details.version) %>
21   &middot;
22   <%= t 'browse.in_changeset' %>
23   #<%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %>
24 </div>
25
26 <%= render :partial => "tag_details", :object => common_details.tags %>