Merge branch 'refs/heads/markdown_notes' into dev

This commit is contained in:
Nihad Abbasov 2011-10-31 13:49:33 +04:00
commit ded7d08d70

View file

@ -40,7 +40,7 @@
%p{:style => "margin-bottom: 3px;"} %p{:style => "margin-bottom: 3px;"}
%span.author %span.author
= note.author.name = note.author.name
= link_to truncate(markdown(note.note), :length => 200), link_to_item + "#note_#{note.id}" = link_to markdown(truncate(note.note, :length => 200)), link_to_item + "#note_#{note.id}"
- if note.attachment.url - if note.attachment.url
%br %br
Attachment: Attachment: