summaryrefslogtreecommitdiffstats
path: root/app/views/wiki
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-02 12:32:52 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-02 12:32:52 +0000
commit31ad05a8621f5685bf52701198934b81b5174e1c (patch)
tree6fb7ffe2a8bf215b7c3f55826cf02a241aeaf4ef /app/views/wiki
parent978c789193dcce99616cd2234878afda56d29481 (diff)
downloadredmine-31ad05a8621f5685bf52701198934b81b5174e1c.tar.gz
redmine-31ad05a8621f5685bf52701198934b81b5174e1c.zip
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
Diffstat (limited to 'app/views/wiki')
-rw-r--r--app/views/wiki/diff.rhtml2
1 files changed, 1 insertions, 1 deletions
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 @@
<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">