From: Tom Hughes Date: Wed, 29 Mar 2023 18:25:49 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/3986' X-Git-Tag: live~1311 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/2145480a00739c3add27eb4569fb03ac8b8cd6f1?hp=a120f65e18a6dcd7add89945c336920228b6256a Merge remote-tracking branch 'upstream/pull/3986' --- diff --git a/app/helpers/changesets_helper.rb b/app/helpers/changesets_helper.rb index 5773240ff..9d46de120 100644 --- a/app/helpers/changesets_helper.rb +++ b/app/helpers/changesets_helper.rb @@ -21,14 +21,10 @@ module ChangesetsHelper end if params.key?(:display_name) - t "browse.#{action}_html", - :time => time, - :title => title + t "browse.#{action}_ago_html", :time_ago => tag.abbr(time, :title => title) else - t "browse.#{action}_by_html", - :time => time, - :title => title, - :user => changeset_user_link(changeset) + t "browse.#{action}_ago_by_html", :time_ago => tag.abbr(time, :title => title), + :user => changeset_user_link(changeset) end end diff --git a/app/views/browse/_common_details.html.erb b/app/views/browse/_common_details.html.erb index 8aa5b64c7..9eb6b5bfe 100644 --- a/app/views/browse/_common_details.html.erb +++ b/app/views/browse/_common_details.html.erb @@ -13,10 +13,10 @@