X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/217f61663048cb3040663d607364ab10937dbe9a..b4e2f8e34f35c345ee1a582fddbcbd4152c5389e:/app/views/user_blocks/show.html.erb diff --git a/app/views/user_blocks/show.html.erb b/app/views/user_blocks/show.html.erb index 6bfb412ef..1b5609e25 100644 --- a/app/views/user_blocks/show.html.erb +++ b/app/views/user_blocks/show.html.erb @@ -24,13 +24,16 @@ <% if @user_block.revoker %>
<%= t ".revoker" %> - <%= link_to h(@user_block.revoker.display_name), user_path(@user_block.revoker) %> + <%= link_to @user_block.revoker.display_name, user_path(@user_block.revoker) %>
<% end %> -<%= t ".created" %>: <%= friendly_date_ago(@user_block.created_at) %>
++ <%= t ".created" %>: <%= friendly_date_ago(@user_block.created_at) %> + (<%= block_duration_in_words(@user_block.ends_at - @user_block.created_at) %>) +
<%= t ".status" %>: <%= block_status(@user_block) %>
<%= t ".reason" %>
-