]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_common_details.html.erb
Merge remote-tracking branch 'upstream/pull/4155'
[rails.git] / app / views / browse / _common_details.html.erb
index 8aa5b64c7b91245f43621598a01262d8e1557650..9eb6b5bfe55988f76d99e1487012cb9c3b619158 100644 (file)
 
 <ul class="list-unstyled">
   <li>
 
 <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) %>
+    <%= t "browse.#{common_details.visible? ? :edited : :deleted}_ago_by_html",
+          :time_ago => tag.abbr(time_ago_in_words(common_details.timestamp, :scope => :"datetime.distance_in_words_ago"),
+                                :title => l(common_details.timestamp)),
+          :user => changeset_user_link(common_details.changeset) %>
   </li>
   <li>
     <%= t "browse.in_changeset" %>
   </li>
   <li>
     <%= t "browse.in_changeset" %>