26575_add_links_to_user_and_to_date.patch

Marius BALTEANU, 2017-08-06 15:31

Download (521 Bytes)

View differences:

app/helpers/wiki_helper.rb
66 66
  end
67 67

  
68 68
  def wiki_content_update_info(content)
69
    l(:label_updated_time_by, :author => content.author.name, :age => distance_of_time_in_words(Time.now, content.updated_on)).html_safe
69
    l(:label_updated_time_by, :author => link_to_user(content.author), :age => time_tag(content.updated_on)).html_safe
70 70
  end
71 71
end