]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_common_details.html.erb
Remove custom margins on sidebar headings
[rails.git] / app / views / browse / _common_details.html.erb
index 3748f2f6587409b0c21166b1c24df2cb077cbd67..5505ee4a9f2db9ebc1cd84df054c8788c3bee44c 100644 (file)
@@ -4,22 +4,22 @@
 </h4>
 
 <p class="font-italic">
-  <% if common_details.changeset.tags['comment'].present? %>
+  <% if common_details.changeset.tags["comment"].present? %>
     <%= linkify(common_details.changeset.tags["comment"]) %>
   <% else %>
     <%= t "browse.no_comment" %>
   <% end %>
 </p>
 
-<div class="details">
+<p class="details">
   <%= 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),
         :title => l(common_details.timestamp) %>
   &middot;
   <%= t "browse.in_changeset" %>
   #<%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %>
-</div>
+</p>
 
 <% if @type == "node" and common_details.visible? %>
 <div class="details geo">