2012-02-15 00:15:02 +01:00
|
|
|
- unless @commits.empty?
|
|
|
|
.ui-box
|
|
|
|
%h5 Commits
|
|
|
|
.merge-request-commits
|
2012-03-14 23:57:43 +01:00
|
|
|
%ul.unstyled
|
|
|
|
- @commits.each do |commit|
|
|
|
|
= render "commits/commit", :commit => commit
|
2011-11-28 21:16:57 +01:00
|
|
|
|
2012-02-15 00:15:02 +01:00
|
|
|
- else
|
|
|
|
%h5
|
|
|
|
Nothing to merge from
|
|
|
|
%span.label #{@merge_request.source_branch}
|
|
|
|
to
|
|
|
|
%span.label #{@merge_request.target_branch}
|
|
|
|
%br
|