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" %>
|
<%= t "browse.version" %>
|
||||||
#<%= common_details.version %>
|
#<%= common_details.version %>
|
||||||
</h4>
|
</h4>
|
||||||
|
@ -11,24 +11,27 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class="details">
|
<ul class="list-unstyled">
|
||||||
|
<li>
|
||||||
<%= t "browse.#{common_details.visible? ? :edited : :deleted}_by_html",
|
<%= t "browse.#{common_details.visible? ? :edited : :deleted}_by_html",
|
||||||
:time => time_ago_in_words(common_details.timestamp, :scope => :"datetime.distance_in_words_ago"),
|
:time => time_ago_in_words(common_details.timestamp, :scope => :"datetime.distance_in_words_ago"),
|
||||||
:user => changeset_user_link(common_details.changeset),
|
:user => changeset_user_link(common_details.changeset),
|
||||||
:title => l(common_details.timestamp) %>
|
:title => l(common_details.timestamp) %>
|
||||||
·
|
</li>
|
||||||
|
<li>
|
||||||
<%= t "browse.in_changeset" %>
|
<%= t "browse.in_changeset" %>
|
||||||
#<%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %>
|
#<%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %>
|
||||||
</p>
|
</li>
|
||||||
|
|
||||||
<% if @type == "node" and common_details.visible? %>
|
<% if @type == "node" and common_details.visible? %>
|
||||||
<div class="details geo">
|
<li>
|
||||||
<%= t "browse.location" %>
|
<%= t "browse.location" %>
|
||||||
<%= link_to(t(".coordinates_html",
|
<%= link_to(t(".coordinates_html",
|
||||||
:latitude => tag.span(number_with_delimiter(common_details.lat), :class => "latitude"),
|
:latitude => tag.span(number_with_delimiter(common_details.lat), :class => "latitude"),
|
||||||
:longitude => tag.span(number_with_delimiter(common_details.lon), :class => "longitude")),
|
:longitude => tag.span(number_with_delimiter(common_details.lon), :class => "longitude")),
|
||||||
root_path(:anchor => "map=18/#{common_details.lat}/#{common_details.lon}")) %>
|
root_path(:anchor => "map=18/#{common_details.lat}/#{common_details.lon}")) %>
|
||||||
</div>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<%= render :partial => "tag_details", :object => common_details.tags %>
|
<%= render :partial => "tag_details", :object => common_details.tags %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue