Welcome to mirror list, hosted at ThFree Co, Russian Federation.

show.html.haml « graphs « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a27f076d5dd28058cb87d22358789b9367a96b88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- page_title _('Contributors')
- if Feature.enabled?(:use_ref_type_parameter, @project)
  - graph_path = project_graph_path(@project, current_ref, ref_type: @ref_type, format: :json)
  - commits_path = project_commits_path(@project, current_ref, ref_type: @ref_type)
- else
  - graph_path = project_graph_path(@project, current_ref, format: :json)
  - commits_path = project_commits_path(@project, current_ref)

.sub-header-block.gl-bg-gray-10.gl-p-5
  .tree-ref-holder.gl-display-inline-block.gl-vertical-align-middle.gl-mr-3>
    = render 'shared/ref_switcher', destination: 'graphs'
  = link_to s_('Commits|History'), commits_path, class: 'btn gl-button btn-default'

.js-contributors-graph{ class: container_class, data: { project_graph_path: graph_path, project_branch: current_ref, default_branch: @project.default_branch } }