From 02bfc46ab38b86d94aa7617853e69ac6d307fb1e Mon Sep 17 00:00:00 2001
From: Andy Allan
- <%= t ".created" %>: <%= friendly_date_ago(@user_block.created_at) %> - (<%= block_duration_in_words(@user_block.ends_at - @user_block.created_at) %>) -
+<%= 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) %>
diff --git a/config/locales/en.yml b/config/locales/en.yml index 62fc7bc6a..f075fd00b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2607,6 +2607,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" -- 2.39.5