summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-20 22:33:44 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-20 22:33:44 +0000
commitef288fbff7dd472f48bd45768a0d43f65f02e3f8 (patch)
tree4d3077503e0012490b294518d89d06d49bd77f02
parent8a8ca4036490dfb16c437b43123a5ed90585da44 (diff)
downloadredmine-ef288fbff7dd472f48bd45768a0d43f65f02e3f8.tar.gz
redmine-ef288fbff7dd472f48bd45768a0d43f65f02e3f8.zip
Broken links on wiki diff view.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4551 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/wiki/diff.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/wiki/diff.rhtml b/app/views/wiki/diff.rhtml
index 90478ed86..264c677b0 100644
--- a/app/views/wiki/diff.rhtml
+++ b/app/views/wiki/diff.rhtml
@@ -5,10 +5,10 @@
<h2><%= @page.pretty_title %></h2>
<p>
-<%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :version => @diff.content_from.version %>
+<%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_from.version %>
<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, :version => @diff.content_to.version %>/<%= @page.content.version %>
+<%= 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>
</p>