projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e5f284
)
Format block details more nicely.
author
Tom Hughes
<tom@compton.nu>
Mon, 4 Jan 2010 13:58:50 +0000
(13:58 +0000)
committer
Tom Hughes
<tom@compton.nu>
Mon, 4 Jan 2010 13:58:50 +0000
(13:58 +0000)
app/views/user_blocks/show.html.erb
patch
|
blob
|
history
diff --git
a/app/views/user_blocks/show.html.erb
b/app/views/user_blocks/show.html.erb
index 24a1d1e660452126c278ca343b0168086b35ce2d..bc405ecce4b6682a67dcae292071f2c815956283 100644
(file)
--- a/
app/views/user_blocks/show.html.erb
+++ b/
app/views/user_blocks/show.html.erb
@@
-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 %>