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