rosa-build/app/views/git/commits/show.html.haml

29 lines
736 B
Plaintext
Raw Normal View History

2011-04-01 01:36:34 +01:00
.block
2011-04-04 17:00:24 +01:00
= render :partial => "git/shared/navigation"
= render :partial => "git/shared/info"
2011-03-10 13:39:49 +00:00
2011-04-01 01:36:34 +01:00
.block
.content
.inner
= render :partial => "git/commits/commits", :object => [@commit]
2011-03-10 13:39:49 +00:00
- begin
.block
.content
.inner
.patch_and_diff
#{link_to "raw diff", commit_path(@project, @commit.id, :diff)} | #{link_to "patch", commit_path(@project, @commit.id, :patch)}
.clear
= render_commit_stats(@commit.stats)
2011-03-10 13:39:49 +00:00
= render :partial => "git/commits/commit_diff", :collection => @commit.diffs
- rescue Grit::Git::GitTimeout
.block
.content
.inner
%p= t 'layout.git.repositories.commit_diff_too_big'
2011-04-01 01:36:34 +01:00
- content_for :sidebar, render(:partial => 'git/shared/sidebar')