Merge pull request #931 from goshakkk/comments-anchors
Add HTML anchors for comments
This commit is contained in:
commit
da400b215e
|
@ -2,6 +2,7 @@
|
||||||
= image_tag gravatar_icon(note.author.email), :class => "left", :width => 40, :style => "padding-right:5px;"
|
= image_tag gravatar_icon(note.author.email), :class => "left", :width => 40, :style => "padding-right:5px;"
|
||||||
%div.note-author
|
%div.note-author
|
||||||
%strong= note.author_name
|
%strong= note.author_name
|
||||||
|
= link_to "##{dom_id(note)}", name: dom_id(note) do
|
||||||
%cite.cgray
|
%cite.cgray
|
||||||
= time_ago_in_words(note.updated_at)
|
= time_ago_in_words(note.updated_at)
|
||||||
ago
|
ago
|
||||||
|
|
Loading…
Reference in a new issue