X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/97b14ce22a0c7d17bb0b303b3795297721bc31d4..7e8fd5d7b7874b60b977c3a190094a93e1e3ff85:/app/helpers/user_blocks_helper.rb diff --git a/app/helpers/user_blocks_helper.rb b/app/helpers/user_blocks_helper.rb index c7c12f6d1..75bd4a46d 100644 --- a/app/helpers/user_blocks_helper.rb +++ b/app/helpers/user_blocks_helper.rb @@ -34,7 +34,7 @@ module UserBlocksHelper end else if block.revoker_id.nil? - if block.updated_at > block.ends_at + if block.deactivates_at > block.ends_at t("user_blocks.helper.short.read_html", :time => block_short_time_in_past(block.updated_at)) else t("user_blocks.helper.short.ended")