From: Toshi MARUYAMA Date: Fri, 12 Aug 2011 01:35:07 +0000 (+0000) Subject: Replace hardcoded string "diff" in Wiki#show (#9043). X-Git-Tag: 1.3.0~1521 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b8516722c0f5913efeb6c5be3591465af74f7624;p=redmine.git 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 --- diff --git a/app/views/wiki/show.rhtml b/app/views/wiki/show.rhtml index fa2d25ee2..87b98e48e 100644 --- a/app/views/wiki/show.rhtml +++ b/app/views/wiki/show.rhtml @@ -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',