2015-04-30 17:06:18 +00:00
|
|
|
- page_title "#{params[:from]}...#{params[:to]}"
|
2015-09-17 10:16:24 +00:00
|
|
|
= render "projects/commits/header_title"
|
2013-06-23 16:47:22 +00:00
|
|
|
= render "projects/commits/head"
|
2012-02-06 20:32:04 +00:00
|
|
|
|
|
|
|
|
2015-09-07 09:44:00 +00:00
|
|
|
.gray-content-block
|
|
|
|
= render "form"
|
2012-02-06 20:32:04 +00:00
|
|
|
|
2012-09-21 08:22:53 +00:00
|
|
|
- if @commits.present?
|
2015-12-02 13:46:15 +00:00
|
|
|
.prepend-top-default
|
2015-09-07 09:44:00 +00:00
|
|
|
= render "projects/commits/commit_list"
|
|
|
|
= render "projects/diffs/diffs", diffs: @diffs, project: @project
|
2013-09-12 17:15:10 +00:00
|
|
|
- else
|
2015-12-02 13:46:15 +00:00
|
|
|
.light-well.prepend-top-default
|
2014-06-21 07:41:44 +00:00
|
|
|
.center
|
2013-09-12 17:15:10 +00:00
|
|
|
%h4
|
|
|
|
There isn't anything to compare.
|
|
|
|
%p.slead
|
|
|
|
- if params[:to] == params[:from]
|
|
|
|
%span.label-branch #{params[:from]}
|
|
|
|
and
|
|
|
|
%span.label-branch #{params[:to]}
|
|
|
|
are the same.
|
2014-08-11 07:41:05 +00:00
|
|
|
- else
|
|
|
|
You'll need to use different branch names to get a valid comparison.
|