• Luke Bennett's avatar
    Added subnav to labels edit+new and milestones edit+new+show · 680efd4f
    Luke Bennett authored
    Added subnav to blame show, blob edit, builds show, commit builds, commit show, environments edit and pipelines show
    
    Added subnav to new enviro view
    
    Added sidebar top position calculation logic
    
    Added sidebar translation to follow the subnav up when the body is scrolled until a certain limit
    Unverified
    680efd4f
show.html.haml 593 Bytes
- @no_container = true
- page_title        "#{@commit.title} (#{@commit.short_id})", "Commits"
- page_description  @commit.description
= render "projects/commits/head"

%div{ class: container_class }
  .prepend-top-default
    = render "commit_box"
  - if @commit.status
    = render "ci_menu"
  - else
    %div.block-connector
  = render "projects/diffs/diffs", diffs: @diffs
  = 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