Format block details more nicely.

This commit is contained in:
Tom Hughes 2010-01-04 13:58:50 +00:00
parent 6e5f284135
commit aa37cecc1d

View file

@ -17,11 +17,8 @@
<p><b><%= t'user_block.show.status' %></b>: <%= block_status(@user_block) %></p>
<p>
<b><%= t'user_block.show.reason' %></b>
<%=h @user_block.reason %>
</p>
<p><b><%= t'user_block.show.reason' %></b></p>
<%= htmlize(@user_block.reason) %>
<% if @user_block.ends_at > Time.now.getutc %>
<% if @user and @user.id == @user_block.creator_id %>