show.html.haml 591 Bytes
Newer Older
1
- @no_container = true
2 3
- page_title        "#{@commit.title} (#{@commit.short_id})", "Commits"
- page_description  @commit.description
4
= render "projects/commits/head"
5

6
%div{ class: container_class }
7
  = render "commit_box"
8 9 10
  - if @commit.status
    = render "ci_menu"
  - else
11
    .block-connector
12
  = render "projects/diffs/diffs", diffs: @diffs, environment: @environment
13 14 15 16
  = 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