Move duration to its own line, so that it can be clearly labelled

This commit is contained in:
Andy Allan 2021-04-28 16:01:03 +01:00
parent b4e2f8e34f
commit 02bfc46ab3
2 changed files with 4 additions and 4 deletions

View file

@ -28,10 +28,9 @@
</p> </p>
<% end %> <% end %>
<p> <p><b><%= t ".created" %></b>: <%= friendly_date_ago(@user_block.created_at) %></p>
<b><%= t ".created" %></b>: <%= friendly_date_ago(@user_block.created_at) %>
(<%= block_duration_in_words(@user_block.ends_at - @user_block.created_at) %>) <p><b><%= t ".duration" %></b>: <%= block_duration_in_words(@user_block.ends_at - @user_block.created_at) %></p>
</p>
<p><b><%= t ".status" %></b>: <%= block_status(@user_block) %></p> <p><b><%= t ".status" %></b>: <%= block_status(@user_block) %></p>

View file

@ -2607,6 +2607,7 @@ en:
title: "%{block_on} blocked by %{block_by}" title: "%{block_on} blocked by %{block_by}"
heading_html: "%{block_on} blocked by %{block_by}" heading_html: "%{block_on} blocked by %{block_by}"
created: "Created" created: "Created"
duration: "Duration"
status: "Status" status: "Status"
show: "Show" show: "Show"
edit: "Edit" edit: "Edit"