Much smarter project note truncation

Fixes #780
This commit is contained in:
Eric Allen 2010-04-02 09:14:25 -04:00
parent 3146fa6bd1
commit 205c4e7ed4
5 changed files with 90 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<% note = notes_summary -%>
<div class="note_wrapper" id="<%= dom_id(note) %>">
<%= link_to( image_tag("blank.png", :border => 0), note_path(note), :title => "Show note", :class => "link_to_notes icon") %>&nbsp;
<%= truncated_note(note) %>
<%= rendered_note(note) %>
</div>
<% note = nil -%>