doc-descr.patch

Warren Harris, 2008-02-03 10:56

Download (725 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, 250)) %><br /><% end %>
3
<em><%= format_time(document.created_on) %></em></p>
2
<% unless document.description.blank? %><%= textilizable(truncate(document.description, 250), :project => document.project) %><br /><% end %>
3
<em><%= format_time(document.created_on) %></em></p>