summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/show.html.haml
blob: 11b2020f99b8d55e58dba2efdfab293cf9773b57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- page_title        "#{@commit.title} (#{@commit.short_id})", "Commits"
- page_description  @commit.description

.prepend-top-default
  = render "commit_box"
- if @commit.status
  = render "ci_menu"
- else
  %div.block-connector
= render "projects/diffs/diffs", diff_files: @diffs.diff_files, project: @diffs.project, diff_refs: @diffs.diff_refs
= render "projects/notes/notes_with_form"
- if can_collaborate_with_project?
  - %w(revert cherry-pick).each do |type|
    = render "projects/commit/change", type: type, commit: @commit, title: @commit.title