Merge remote-tracking branch 'upstream/pull/3537'
This commit is contained in:
commit
f6a1700ef6
1 changed files with 22 additions and 19 deletions
|
@ -1,4 +1,4 @@
|
|||
<h4 class="details">
|
||||
<h4>
|
||||
<%= t "browse.version" %>
|
||||
#<%= common_details.version %>
|
||||
</h4>
|
||||
|
@ -11,24 +11,27 @@
|
|||
<% end %>
|
||||
</p>
|
||||
|
||||
<p class="details">
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<%= t "browse.#{common_details.visible? ? :edited : :deleted}_by_html",
|
||||
:time => time_ago_in_words(common_details.timestamp, :scope => :"datetime.distance_in_words_ago"),
|
||||
:user => changeset_user_link(common_details.changeset),
|
||||
:title => l(common_details.timestamp) %>
|
||||
·
|
||||
</li>
|
||||
<li>
|
||||
<%= t "browse.in_changeset" %>
|
||||
#<%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %>
|
||||
</p>
|
||||
</li>
|
||||
|
||||
<% if @type == "node" and common_details.visible? %>
|
||||
<div class="details geo">
|
||||
<% if @type == "node" and common_details.visible? %>
|
||||
<li>
|
||||
<%= t "browse.location" %>
|
||||
<%= link_to(t(".coordinates_html",
|
||||
:latitude => tag.span(number_with_delimiter(common_details.lat), :class => "latitude"),
|
||||
:longitude => tag.span(number_with_delimiter(common_details.lon), :class => "longitude")),
|
||||
root_path(:anchor => "map=18/#{common_details.lat}/#{common_details.lon}")) %>
|
||||
</div>
|
||||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
<%= render :partial => "tag_details", :object => common_details.tags %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue