Report deactivates_at as block read date
This commit is contained in:
parent
1ca2c2837e
commit
3df14c5a40
2 changed files with 11 additions and 2 deletions
|
@ -35,7 +35,7 @@ module UserBlocksHelper
|
|||
else
|
||||
if block.revoker_id.nil?
|
||||
if block.deactivates_at > block.ends_at
|
||||
t("user_blocks.helper.short.read_html", :time => block_short_time_in_past(block.updated_at))
|
||||
t("user_blocks.helper.short.read_html", :time => block_short_time_in_past(block.deactivates_at))
|
||||
else
|
||||
t("user_blocks.helper.short.ended")
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue