diff --git a/app/views/repositories/diff.html.erb b/app/views/repositories/diff.html.erb
index 889a65f7e9..12875f21ee 100644
--- a/app/views/repositories/diff.html.erb
+++ b/app/views/repositories/diff.html.erb
@@ -1,3 +1,30 @@
+
+ «
+ <% unless @changeset.previous.nil? -%>
+ <%= link_to_revision(@changeset.previous, @repository,
+ :text => l(:label_previous), :accesskey => accesskey(:previous)) %>
+ <% else -%>
+ <%= l(:label_previous) %>
+ <% end -%>
+|
+ <% unless @changeset.next.nil? -%>
+ <%= link_to_revision(@changeset.next, @repository,
+ :text => l(:label_next), :accesskey => accesskey(:next)) %>
+ <% else -%>
+ <%= l(:label_next) %>
+ <% end -%>
+ »
+
+ <%= form_tag({:controller => 'repositories',
+ :action => 'revision',
+ :id => @project,
+ :repository_id => @repository.identifier_param,
+ :rev => nil},
+ :method => :get) do %>
+ <%= text_field_tag 'rev', @rev, :size => 8 %>
+ <%= submit_tag 'OK', :name => nil %>
+ <% end %>
+
<% if @changeset && @changeset_to.nil? %>
<%= render :partial => 'changeset' %>
<% else %>