b462a13387
- Remove compare/_head and just use commits/_head since they're identical - Add index view; extract the form into a partial
16 lines
273 B
Text
16 lines
273 B
Text
= render "commits/head"
|
|
|
|
%h3.page_title
|
|
Compare View
|
|
%hr
|
|
|
|
= render "form"
|
|
|
|
- if @commits.present?
|
|
%div.ui-box
|
|
%h5.small Commits (#{@commits.count})
|
|
%ul.unstyled= render @commits
|
|
|
|
- unless @diffs.empty?
|
|
%h4 Diff
|
|
= render "commits/diffs", diffs: @diffs
|