gitlab-org--gitlab-foss/app/views/projects/compare/show.html.haml

23 lines
493 B
Plaintext
Raw Normal View History

= render "projects/commits/head"
2012-02-06 20:32:04 +00:00
%h3.page-title
2012-02-06 20:32:04 +00:00
Compare View
= render "form"
2012-02-06 20:32:04 +00:00
- if @commits.size > 100
.alert.alert-block
%p
%strong Warning! This comparison include 100+ commits.
%p To prevent performance issue we dont show diff information.
- if @commits.present?
%div.ui-box
2013-01-08 10:23:33 +00:00
%h5.title
Commits (#{@commits.count})
%ul.well-list= render Commit.decorate(@commits)
2012-02-06 20:32:04 +00:00
- unless @diffs.empty?
%h4 Diff
= render "projects/commits/diffs", diffs: @diffs