X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0c79686f3cef86330d0ab6bbef2a9e2275ac93ac..1b4a06adef58262a3e9eba47049a6ca212d88be4:/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) %>