textilize-document-description_r3084.patch

Patch against trunk at r3084. - Mischa The Evil, 2009-11-22 22:34

Download (663 Bytes)

View differences:

app/views/documents/_document.rhtml (working copy)
1 1
<p><%= link_to h(document.title), :controller => 'documents', :action => 'show', :id => document %><br />
2
<% unless document.description.blank? %><%=h(truncate(document.description, :length => 250)) %><br /><% end %>
2
<% unless document.description.blank? %><%= textilizable(truncate(document.description, :length => 250)) %><br /><% end %>
3 3
<em><%= format_time(document.created_on) %></em></p>