summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/show.html.haml
blob: 0d11da2451a573860518d12179c5751cc00239d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- @no_container = true
- page_title        "#{@commit.title} (#{@commit.short_id})", "Commits"
- page_description  @commit.description
= render "projects/commits/head"

%div{ class: container_class }
  = render "commit_box"
  - if @commit.status
    = render "ci_menu"
  - else
    .block-connector
  = render "projects/diffs/diffs", diffs: @diffs, environment: @environment

  = 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