X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3af16f6337b52546297e7e09a1aba9b0e1df7e15..7e925c3c00cc5944fc743faf9d1509fcd30df55d:/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 28e467fb4..69207d4e4 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" %>: <%= raw t ".ago", :time => friendly_date(@user_block.created_at) %>
+<%= t ".created" %>: <%= friendly_date_ago(@user_block.created_at) %>
<%= t ".status" %>: <%= block_status(@user_block) %>