summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-02-26 16:03:05 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-02-26 16:03:05 +0000
commit113049412bbbf79e897533c42a2588c9a661d57b (patch)
tree2bb18558c3c90f0b81a5708b5407a14b3107eeb5 /app/views
parentbda2aa474c7108be654d5b8c93fc69cad55561af (diff)
downloadredmine-113049412bbbf79e897533c42a2588c9a661d57b.tar.gz
redmine-113049412bbbf79e897533c42a2588c9a661d57b.zip
Link to the user from the wiki history view.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3496 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/wiki/history.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wiki/history.rhtml b/app/views/wiki/history.rhtml
index 7ce78a0f2..55620b66b 100644
--- a/app/views/wiki/history.rhtml
+++ b/app/views/wiki/history.rhtml
@@ -22,7 +22,7 @@
<td class="checkbox"><%= radio_button_tag('version', ver.version, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < @versions.size) %></td>
<td class="checkbox"><%= radio_button_tag('version_from', ver.version, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true || $('version_from').value > #{ver.version}) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %></td>
<td align="center"><%= format_time(ver.updated_on) %></td>
- <td><em><%= ver.author ? ver.author.name : "anonyme" %></em></td>
+ <td><%= link_to_user ver.author %></td>
<td><%=h ver.comments %></td>
<td align="center"><%= link_to l(:button_annotate), :action => 'annotate', :page => @page.title, :version => ver.version %></td>
</tr>