diff --git a/app/views/user_blocks/show.html.erb b/app/views/user_blocks/show.html.erb index 52c099ee4..0204908dd 100644 --- a/app/views/user_blocks/show.html.erb +++ b/app/views/user_blocks/show.html.erb @@ -30,6 +30,8 @@
<%= t ".created" %>: <%= friendly_date_ago(@user_block.created_at) %>
+<%= t ".duration" %>: <%= block_duration_in_words(@user_block.ends_at - @user_block.created_at) %>
+<%= t ".status" %>: <%= block_status(@user_block) %>
<%= t ".reason" %>
diff --git a/config/locales/en.yml b/config/locales/en.yml index b07536c27..eb6d0e078 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2611,6 +2611,7 @@ en: title: "%{block_on} blocked by %{block_by}" heading_html: "%{block_on} blocked by %{block_by}" created: "Created" + duration: "Duration" status: "Status" show: "Show" edit: "Edit"