Merge branch 'dev' into new_layout
This commit is contained in:
commit
fb33ccd87f
5 changed files with 10 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
%div.note_author
|
||||
= image_tag gravatar_icon(note.author.email), :class => "left", :width => 40, :style => "padding-right:5px;"
|
||||
%div.note_content.left
|
||||
= simple_format(html_escape(note.note))
|
||||
= markdown(note.note)
|
||||
- if note.attachment.url
|
||||
Attachment:
|
||||
= link_to note.attachment_identifier, note.attachment.url, :target => "_blank"
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
%p{:style => "margin-bottom: 3px;"}
|
||||
%span.author
|
||||
= note.author.name
|
||||
= link_to truncate(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
|
||||
%br
|
||||
Attachment:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue