gitlabhq/app/views/compare/show.html.haml

24 lines
462 B
Text
Raw Normal View History

= render "commits/head"
2012-02-06 21:32:04 +01:00
%h3.page_title
2012-02-06 21:32:04 +01:00
Compare View
%hr
= render "form"
2012-02-06 21:32:04 +01: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 11:23:33 +01:00
%h5.title
Commits (#{@commits.count})
%ul.well-list= render @commits
2012-02-06 21:32:04 +01:00
- unless @diffs.empty?
%h4 Diff
= render "commits/diffs", diffs: @diffs