X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/89f8f7af3539588c234496dd769f9042199bd248..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 7b34d204a..1b5609e25 100644 --- a/app/views/user_blocks/show.html.erb +++ b/app/views/user_blocks/show.html.erb @@ -3,17 +3,17 @@ :block_by => @user_block.creator.display_name) %> <% content_for :heading do %> -
<%= 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" %>
-