From: Tom Hughes Date: Wed, 29 Mar 2023 18:30:07 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/3985' X-Git-Tag: live~1310 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/0d56dab481c0eeb2f4c89c753ded93c4ffd3af08?hp=2f3c2cdb44def797f1b3107ae166c77e3eee26d2 Merge remote-tracking branch 'upstream/pull/3985' --- diff --git a/Gemfile.lock b/Gemfile.lock index 8fbea003b..feeb4e980 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -86,8 +86,8 @@ GEM autoprefixer-rails (10.4.13.0) execjs (~> 2) aws-eventstream (1.2.0) - aws-partitions (1.731.0) - aws-sdk-core (3.170.1) + aws-partitions (1.735.0) + aws-sdk-core (3.171.0) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.5) @@ -95,7 +95,7 @@ GEM aws-sdk-kms (1.63.0) aws-sdk-core (~> 3, >= 3.165.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.119.1) + aws-sdk-s3 (1.119.2) aws-sdk-core (~> 3, >= 3.165.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.4) @@ -148,7 +148,7 @@ GEM config (4.1.0) deep_merge (~> 1.2, >= 1.2.1) dry-validation (~> 1.0, >= 1.0.0) - connection_pool (2.3.0) + connection_pool (2.4.0) crack (0.4.5) rexml crass (1.0.6) @@ -198,7 +198,7 @@ GEM dry-initializer (~> 3.0) dry-schema (>= 1.12, < 2) zeitwerk (~> 2.6) - erb_lint (0.3.1) + erb_lint (0.4.0) activesupport better_html (>= 2.0.1) parser (>= 2.7.1.4) @@ -440,7 +440,7 @@ GEM rubocop-ast (>= 1.26.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.27.0) + rubocop-ast (1.28.0) parser (>= 3.2.1.0) rubocop-capybara (2.17.1) rubocop (~> 1.41) @@ -473,7 +473,7 @@ GEM sprockets-rails tilt secure_headers (6.5.0) - selenium-webdriver (4.8.1) + selenium-webdriver (4.8.3) rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) websocket (~> 1.0) 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 @@