]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/show.html.erb
Don't display a box at all if the note event doesn't include a comment body
[rails.git] / app / views / user_blocks / show.html.erb
index 73b26b9306aceb6410d5cecd8032afbaeb0cbd37..ccd6df06faf5b3bccee26756f5175f69cf6d7c48 100644 (file)
@@ -30,7 +30,9 @@
 </p>
 <% end %>
 
+<p><b><%= t'user_block.show.created' %></b>: <%= raw t'user_block.show.ago', :time => friendly_date(@user_block.created_at) %></p>
+
 <p><b><%= t'user_block.show.status' %></b>: <%= block_status(@user_block) %></p>
 
 <p><b><%= t'user_block.show.reason' %></b></p>
-<%= @user_block.reason.to_html %>
\ No newline at end of file
+<div class="richtext"><%= @user_block.reason.to_html %></div>