From ce6f05509caab9ff98f7ce1e02341f37fc7be0e2 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 16 Jun 2018 14:33:47 +0000 Subject: [PATCH] Add links to the user name and date on wiki update info (#26575). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17388 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/wiki_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/wiki_helper.rb b/app/helpers/wiki_helper.rb index 88a73be31..b11a7eb19 100644 --- a/app/helpers/wiki_helper.rb +++ b/app/helpers/wiki_helper.rb @@ -66,6 +66,6 @@ module WikiHelper end def wiki_content_update_info(content) - l(:label_updated_time_by, :author => content.author.name, :age => distance_of_time_in_words(Time.now, content.updated_on)).html_safe + l(:label_updated_time_by, :author => link_to_user(content.author), :age => time_tag(content.updated_on)).html_safe end end