Skip to content
Snippets Groups Projects
Commit 3d1ac7ed authored by danielgrippi's avatar danielgrippi
Browse files

added basic reshare attribution

parent 5a1f3675
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,13 @@
= person_image_link @post.author
.bd
= person_link(@post.author, :class => 'author-name')
- if @post.is_a?(Reshare) && @post.root.present?
reshared via
= person_link(@post.root.author, :class => "author-name")
.post-time
%i.icon-time
= time_ago_in_words(@post.created_at) + ' ago'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment