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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-08-21 12:14:31 +0400
committerRobert Schilling <rschilling@student.tugraz.at>2014-09-01 13:49:17 +0400
commit0cbc19f9449ffc6e624c0b7e22ea837468658377 (patch)
treee48375611c09c38a14f45adecbe31309f308798b /app/views/projects/network
parent174c00cf2c026a3bdc61d94b45195a5e5c99202f (diff)
Awesome shortcuts for GitLab
Diffstat (limited to 'app/views/projects/network')
-rw-r--r--app/views/projects/network/show.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/network/show.html.haml b/app/views/projects/network/show.html.haml
index 5310822823d..8356bef28b0 100644
--- a/app/views/projects/network/show.html.haml
+++ b/app/views/projects/network/show.html.haml
@@ -15,9 +15,10 @@
= spinner nil, true
:javascript
- new Network({
+ network_graph = 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}'
})
+ new ShortcutsNetwork(network_graph.branch_graph)