Replace hardcoded string "diff" in Wiki#show (#9043).

Contributed by Tom Rochette.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6425 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-12 01:35:07 +00:00
parent 9887ed7171
commit b8516722c0
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
:action => 'show', :id => @page.title, :project_id => @page.project,
:version => (@content.version - 1)) + " - " if @content.version > 1 %>
<%= "#{l(:label_version)} #{@content.version}/#{@page.content.version}" %>
<%= '(' + link_to('diff', :controller => 'wiki', :action => 'diff',
<%= '(' + link_to(l(:label_diff), :controller => 'wiki', :action => 'diff',
:id => @page.title, :project_id => @page.project,
:version => @content.version) + ')' if @content.version > 1 %> -
<%= link_to((l(:label_next) + " \xc2\xbb"), :action => 'show',