Commit b82870af authored by blackst0ne's avatar blackst0ne

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

parent 323596f6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment