summaryrefslogtreecommitdiff
path: root/app/views/projects/network/show.html.haml
blob: 492f77341f7592abd490e369ea4d536260f9a222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
= render "head"
.project-network
  .tip
    You can move around the graph by using the arrow keys.
  .network-graph
    .loading.loading-gray

:javascript
  new Network({
    url: '#{project_network_path(@project, @ref, @options.merge(format: :json))}',
    commit_url: '#{project_commit_path(@project, 'ae45ca32').gsub("ae45ca32", "%s")}',
    ref: '#{@ref}',
    commit_id: '#{@commit.id}'
  })