gitlabhq/app/views/merge_requests/show/_commits.html.haml

31 lines
863 B
Plaintext
Raw Normal View History

2012-06-20 23:21:13 +02:00
- if @commits.present?
.ui-box
2013-01-04 22:35:31 +01:00
%h6.title
%i.icon-list
Commits (#{@commits.count})
.merge-request-commits
- if @commits.count > 8
%ul.first_mr_commits.well-list
- @commits.first(8).each do |commit|
= render "commits/commit", commit: commit
%li.bottom
8 of #{@commits.count} commits displayed.
%strong
2012-06-20 20:29:55 +02:00
%a.mr_show_all_commits Click here to show all
%ul.all_mr_commits.hide.well-list
- @commits.each do |commit|
= render "commits/commit", commit: commit
- else
%ul.well-list
- @commits.each do |commit|
= render "commits/commit", commit: commit
2011-11-28 21:16:57 +01:00
- else
%h5
Nothing to merge from
%span.label #{@merge_request.source_branch}
to
%span.label #{@merge_request.target_branch}
%br