summaryrefslogtreecommitdiffstats
path: root/app/views/repositories/revision.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/repositories/revision.rhtml')
-rw-r--r--app/views/repositories/revision.rhtml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/repositories/revision.rhtml b/app/views/repositories/revision.rhtml
index 8919e45a2..5cf5c2e41 100644
--- a/app/views/repositories/revision.rhtml
+++ b/app/views/repositories/revision.rhtml
@@ -28,7 +28,7 @@
<p><%= link_to(l(:label_view_diff), :action => 'diff', :id => @project, :path => "", :rev => @changeset.revision) if @changeset.changes.any? %></p>
<table class="list">
<tbody>
-<% @changeset.changes.each do |change| %>
+<% @changes.each do |change| %>
<tr class="<%= cycle 'odd', 'even' %>">
<td><div class="square action_<%= change.action %>"></div> <%= change.path %></td>
<td align="right">
@@ -40,8 +40,9 @@
<% end %>
</tbody>
</table>
-<p><%= lwr(:label_modification, @changeset.changes.length) %></p>
+<p><%= pagination_links_full @changes_pages, :rev => @changeset.revision %>
+[ <%= @changes_pages.current.first_item %> - <%= @changes_pages.current.last_item %> / <%= @changes_count %> ]</p>
<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>
-<% end %> \ No newline at end of file
+<% end %>