summaryrefslogtreecommitdiff
path: root/app/views/projects/graphs/show.html.haml
blob: cce16bc58b30daf19e5bd51798fc5f3fd449a49e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
- @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.inline.vertical-align-middle
      = render 'shared/ref_switcher', destination: 'graphs'
    = link_to s_('Commits|History'), project_commits_path(@project, current_ref), class: 'btn'

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

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