]> source.dussan.org Git - redmine.git/commitdiff
wrap @diff.content_to.author.name with link_to_user() at app/views/wiki/diff.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 2 Aug 2011 12:32:52 +0000 (12:32 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 2 Aug 2011 12:32:52 +0000 (12:32 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6335 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/wiki/diff.rhtml

index 4eef50ac21d3657b24b97c01959d76e70e6f68ee..8a000daa998fc8816d8487423b940b909341f7d5 100644 (file)
@@ -11,7 +11,7 @@
 <em>(<%= @diff.content_from.author ? @diff.content_from.author.name : "anonyme" %>, <%= format_time(@diff.content_from.updated_on) %>)</em>
 &#8594;
 <%= 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 %>
-<em>(<%= @diff.content_to.author ? @diff.content_to.author.name : "anonyme" %>, <%= format_time(@diff.content_to.updated_on) %>)</em>
+<em>(<%= @diff.content_to.author ? link_to_user(@diff.content_to.author.name) : "anonyme" %>, <%= format_time(@diff.content_to.updated_on) %>)</em>
 </p>
 
 <div class="text-diff">