Commit f23daffd authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixed: error on document list with a document without description.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@740 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 29413d6b
<p><%= link_to h(document.title), :controller => 'documents', :action => 'show', :id => document %><br />
<% unless document.description.empty? %><%=h(truncate(document.description, 250)) %><br /><% end %>
<% unless document.description.blank? %><%=h(truncate(document.description, 250)) %><br /><% end %>
<em><%= format_time(document.created_on) %></em></p>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment