2012-09-26 05:13:19 +02:00
|
|
|
= render "commits/head"
|
2012-02-06 21:32:04 +01:00
|
|
|
|
2012-09-21 10:22:53 +02:00
|
|
|
%h3.page_title
|
2012-02-06 21:32:04 +01:00
|
|
|
Compare View
|
|
|
|
%hr
|
|
|
|
|
2012-09-26 05:13:19 +02:00
|
|
|
= render "form"
|
2012-02-06 21:32:04 +01:00
|
|
|
|
2013-03-20 09:19:00 +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.
|
|
|
|
|
2012-09-21 10:22:53 +02:00
|
|
|
- if @commits.present?
|
2012-07-25 20:45:53 +02:00
|
|
|
%div.ui-box
|
2013-01-08 11:23:33 +01:00
|
|
|
%h5.title
|
|
|
|
Commits (#{@commits.count})
|
2012-12-18 04:14:05 +01:00
|
|
|
%ul.well-list= render @commits
|
2012-02-06 21:32:04 +01:00
|
|
|
|
2012-09-21 10:22:53 +02:00
|
|
|
- unless @diffs.empty?
|
|
|
|
%h4 Diff
|
|
|
|
= render "commits/diffs", diffs: @diffs
|