From: Toshi MARUYAMA Date: Tue, 2 Aug 2011 12:32:52 +0000 (+0000) Subject: wrap @diff.content_to.author.name with link_to_user() at app/views/wiki/diff.rhtml. X-Git-Tag: 1.3.0~1608 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=31ad05a8621f5685bf52701198934b81b5174e1c;p=redmine.git wrap @diff.content_to.author.name with link_to_user() at app/views/wiki/diff.rhtml. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6335 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/wiki/diff.rhtml b/app/views/wiki/diff.rhtml index 4eef50ac2..8a000daa9 100644 --- a/app/views/wiki/diff.rhtml +++ b/app/views/wiki/diff.rhtml @@ -11,7 +11,7 @@ (<%= @diff.content_from.author ? @diff.content_from.author.name : "anonyme" %>, <%= format_time(@diff.content_from.updated_on) %>) → <%= l(:label_version) %> <%= link_to @diff.content_to.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_to.version %>/<%= @page.content.version %> -(<%= @diff.content_to.author ? @diff.content_to.author.name : "anonyme" %>, <%= format_time(@diff.content_to.updated_on) %>) +(<%= @diff.content_to.author ? link_to_user(@diff.content_to.author.name) : "anonyme" %>, <%= format_time(@diff.content_to.updated_on) %>)