diff options
Diffstat (limited to 'app/views/repositories/revision.rhtml')
-rw-r--r-- | app/views/repositories/revision.rhtml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/views/repositories/revision.rhtml b/app/views/repositories/revision.rhtml index 22e965090..3f28f3a9c 100644 --- a/app/views/repositories/revision.rhtml +++ b/app/views/repositories/revision.rhtml @@ -5,10 +5,10 @@ <% end %> </div> -<h2><%= l(:label_revision) %> <%= @revision.identifier %></h2> +<h2><%= l(:label_revision) %> <%= @changeset.revision %></h2> -<p><em><%= @revision.author %>, <%= format_time(@revision.time) %></em></p> -<%= textilizable @revision.message %> +<p><em><%= @changeset.committer %>, <%= format_time(@changeset.committed_on) %></em></p> +<%= textilizable @changeset.comment %> <div style="float:right;"> <div class="square action_A"></div> <div style="float:left;"><%= l(:label_added) %> </div> @@ -19,19 +19,19 @@ <h3><%= l(:label_attachment_plural) %></h3> <table class="list"> <tbody> -<% @revision.paths.each do |path| %> +<% @changeset.changes.each do |change| %> <tr class="<%= cycle 'odd', 'even' %>"> -<td><div class="square action_<%= path[:action] %>"></div> <%= path[:path] %></td> +<td><div class="square action_<%= change.action %>"></div> <%= change.path %></td> <td> -<% if path[:action] == "M" %> -<%= link_to 'View diff', :action => 'diff', :id => @project, :path => path[:path], :rev => @revision.identifier %> +<% if change.action == "M" %> +<%= link_to 'View diff', :action => 'diff', :id => @project, :path => change.path, :rev => @changeset.revision %> <% end %> </td> </tr> <% end %> </tbody> </table> -<p><%= lwr(:label_modification, @revision.paths.length) %></p> +<p><%= lwr(:label_modification, @changeset.changes.length) %></p> <% content_for :header_tags do %> <%= stylesheet_link_tag "scm" %> |