- @no_container = true
- page_title "Contributors"
- content_for :page_specific_javascripts do
  = webpack_bundle_tag('common_d3')
  = webpack_bundle_tag('graphs')
  = webpack_bundle_tag('graphs_show')

.js-graphs-show{ class: container_class, 'data-project-graph-path': project_graph_path(@project, current_ref, format: :json) }
  .sub-header-block
    .tree-ref-holder
      = render 'shared/ref_switcher', destination: 'graphs'
    %ul.breadcrumb.repo-breadcrumb
      = commits_breadcrumbs

  .loading-graph
    .center
      %h3.page-title
        %i.fa.fa-spinner.fa-spin
        Building repository graph.
      %p.slead Please wait a moment, this page will automatically refresh when ready.

  .stat-graph.hide
    .header.clearfix
      %h3#date_header.page-title
      %p.light
        Commits to #{@ref}, excluding merge commits. Limited to 6,000 commits.
      %input#brush_change{ :type => "hidden" }
    .graphs.row
      #contributors-master
      #contributors.clearfix
        %ol.contributors-list.clearfix
