Skip to content
Snippets Groups Projects
Commit b82870af authored by blackst0ne's avatar blackst0ne
Browse files

Add author to 'Edited time ago by ...' message

parent 323596f6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -187,7 +187,7 @@ module ApplicationHelper
output = content_tag(:span, "Edited ")
output << time_ago_with_tooltip(object.updated_at, placement: placement, html_class: html_class)
 
if include_author && object.updated_by && object.updated_by != object.author
if include_author && object.updated_by
output << content_tag(:span, " by ")
output << link_to_member(object.project, object.updated_by, avatar: false, author_class: nil)
end
Loading
Loading
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