X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/59102ea017825ceafdfe603cc43f9dd45e5c0ab6..0e7324839b2f1cd6a2d07be073ae14dfbf611beb:/app/views/user_blocks/revoke.html.erb?ds=sidebyside
diff --git a/app/views/user_blocks/revoke.html.erb b/app/views/user_blocks/revoke.html.erb
index 321b145a3..9f142c802 100644
--- a/app/views/user_blocks/revoke.html.erb
+++ b/app/views/user_blocks/revoke.html.erb
@@ -1,6 +1,13 @@
-
<%= t('user_block.revoke.heading',
- :block_on => @user_block.user.display_name,
- :block_by => @user_block.creator.display_name) %>
+<% @title = t('user_block.revoke.title',
+ :block_on => h(@user_block.user.display_name),
+ :block_by => h(@user_block.creator.display_name)) %>
+<%= t('user_block.revoke.heading',
+ :block_on => link_to(
+ h(@user_block.user.display_name),
+ {:controller => 'user', :action => 'view', :display_name => @user_block.user.display_name}),
+ :block_by => link_to(
+ h(@user_block.creator.display_name),
+ {:controller => 'user', :action => 'view', :display_name => @user_block.creator.display_name})) %>
<% if @user_block.ends_at > Time.now %>