diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-06-16 14:33:47 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-06-16 14:33:47 +0000 |
commit | ce6f05509caab9ff98f7ce1e02341f37fc7be0e2 (patch) | |
tree | 3557d59a61063b9a19e3b314183432299481fa2c /app | |
parent | c5ce92a678c4722aa51e6f7cf5fa253904d0cfe2 (diff) | |
download | redmine-ce6f05509caab9ff98f7ce1e02341f37fc7be0e2.tar.gz redmine-ce6f05509caab9ff98f7ce1e02341f37fc7be0e2.zip |
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
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/wiki_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |