Index: app/views/repositories/_changeset.html.erb =================================================================== --- app/views/repositories/_changeset.html.erb (revision 0) +++ app/views/repositories/_changeset.html.erb (working copy) @@ -0,0 +1,44 @@ +

<%= avatar(@changeset.user, :size => "24") %><%= l(:label_revision) %> <%= format_revision(@changeset) %>

+ +<% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %> + + <% if @changeset.scmid.present? %> + + + + <% end %> + <% if @changeset.parents.present? %> + + + + + <% end %> + <% if @changeset.children.present? %> + + + + + <% end %> +
ID<%= h(@changeset.scmid) %>
<%= l(:label_parent_revision) %> + <%= @changeset.parents.collect{ + |p| link_to_revision(p, @repository, :text => format_revision(p)) + }.join(", ").html_safe %> +
<%= l(:label_child_revision) %> + <%= @changeset.children.collect{ + |p| link_to_revision(p, @repository, :text => format_revision(p)) + }.join(", ").html_safe %> +
+<% end %> + +

+ +<%= authoring(@changeset.committed_on, @changeset.author) %> + +

+ +<%= textilizable @changeset.comments %> + +<% if @changeset.issues.visible.any? || User.current.allowed_to?(:manage_related_issues, @repository.project) %> + <%= render :partial => 'related_issues' %> +<% end %> + Property changes on: app/views/repositories/_changeset.html.erb ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Date Author Id Revision HeadURL \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: app/views/repositories/diff.html.erb =================================================================== --- app/views/repositories/diff.html.erb (revision 13203) +++ app/views/repositories/diff.html.erb (working copy) @@ -1,4 +1,4 @@ -

<%= l(:label_revision) %> <%= @diff_format_revisions %> <%=h @path %>

+<%= render :partial => 'changeset', :locals => {:repository => @repository, :changeset => @changeset} %> <%= form_tag({:action => 'diff', :id => @project, Index: app/views/repositories/revision.html.erb =================================================================== --- app/views/repositories/revision.html.erb (revision 13203) +++ app/views/repositories/revision.html.erb (working copy) @@ -24,50 +24,8 @@ <% end %> -

<%= avatar(@changeset.user, :size => "24") %><%= l(:label_revision) %> <%= format_revision(@changeset) %>

+<%= render :partial => 'changeset', :locals => {:repository => @repository, :changeset => @changeset} %> -<% if @changeset.scmid.present? || @changeset.parents.present? || @changeset.children.present? %> - - <% if @changeset.scmid.present? %> - - - - <% end %> - <% if @changeset.parents.present? %> - - - - - <% end %> - <% if @changeset.children.present? %> - - - - - <% end %> -
ID<%= h(@changeset.scmid) %>
<%= l(:label_parent_revision) %> - <%= @changeset.parents.collect{ - |p| link_to_revision(p, @repository, :text => format_revision(p)) - }.join(", ").html_safe %> -
<%= l(:label_child_revision) %> - <%= @changeset.children.collect{ - |p| link_to_revision(p, @repository, :text => format_revision(p)) - }.join(", ").html_safe %> -
-<% end %> - -

- -<%= authoring(@changeset.committed_on, @changeset.author) %> - -

- -<%= textilizable @changeset.comments %> - -<% if @changeset.issues.visible.any? || User.current.allowed_to?(:manage_related_issues, @repository.project) %> - <%= render :partial => 'related_issues' %> -<% end %> - <% if User.current.allowed_to?(:browse_repository, @project) %>

<%= l(:label_attachment_plural) %>