show.html.haml 949 Bytes
Newer Older
1
- @no_container = true
Phil Hughes's avatar
Phil Hughes committed
2
- add_to_breadcrumbs "Commits", project_commits_path(@project)
3
- breadcrumb_title @commit.short_id
4
- container_class = !fluid_layout && diff_view == :inline ? 'container-limited' : ''
5
- limited_container_width = fluid_layout ? '' : 'limit-container-width'
6
- @content_class = limited_container_width
7 8 9
- page_title        "#{@commit.title} (#{@commit.short_id})", "Commits"
- page_description  @commit.description

Phil Hughes's avatar
Phil Hughes committed
10
.container-fluid{ class: [limited_container_width, container_class] }
11
  = render "commit_box"
12 13 14
  - if @commit.status
    = render "ci_menu"
  - else
15
    .block-connector
16
  = render "projects/diffs/diffs", diffs: @diffs, environment: @environment
17

18 19 20 21 22
  .limited-width-notes
    = render "shared/notes/notes_with_form", :autocomplete => true
    - if can_collaborate_with_project?
      - %w(revert cherry-pick).each do |type|
        = render "projects/commit/change", type: type, commit: @commit, title: @commit.title