From 31ad05a8621f5685bf52701198934b81b5174e1c Mon Sep 17 00:00:00 2001
From: Toshi MARUYAMA
Date: Tue, 2 Aug 2011 12:32:52 +0000
Subject: [PATCH] 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
---
app/views/wiki/diff.rhtml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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) %>)