summaryrefslogtreecommitdiffstats
path: root/app/views/wiki/history.rhtml
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-10-27 16:27:06 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-10-27 16:27:06 +0000
commite9efa5b9814bbeddd9956b8478ed26af02b0eeca (patch)
treed2b8c54194c7410edd114483d3645d9945aff17a /app/views/wiki/history.rhtml
parent70bf0706b2f7933f72cbd4daab8e43b0ac9de4e9 (diff)
downloadredmine-e9efa5b9814bbeddd9956b8478ed26af02b0eeca.tar.gz
redmine-e9efa5b9814bbeddd9956b8478ed26af02b0eeca.zip
Refactor: use :id instead of :page when linking to Wiki Pages
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4296 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/wiki/history.rhtml')
-rw-r--r--app/views/wiki/history.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/wiki/history.rhtml b/app/views/wiki/history.rhtml
index 1f73fd173..5d44598f9 100644
--- a/app/views/wiki/history.rhtml
+++ b/app/views/wiki/history.rhtml
@@ -19,13 +19,13 @@
<% line_num = 1 %>
<% @versions.each do |ver| %>
<tr class="<%= cycle("odd", "even") %>">
- <td class="id"><%= link_to ver.version, :action => 'show', :page => @page.title, :version => ver.version %></td>
+ <td class="id"><%= link_to ver.version, :action => 'show', :id => @page.title, :version => ver.version %></td>
<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}") if show_diff && (line_num > 1) %></td>
<td align="center"><%= format_time(ver.updated_on) %></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>
+ <td align="center"><%= link_to l(:button_annotate), :action => 'annotate', :id => @page.title, :version => ver.version %></td>
</tr>
<% line_num += 1 %>
<% end %>