gitlab-org--gitlab-foss/app/views/graph/show.html.haml

16 lines
451 B
Plaintext
Raw Normal View History

2013-02-05 03:46:31 +00:00
= render "head"
2012-05-31 20:30:54 +00:00
.graph_holder
%h4
%small You can move around the graph by using the arrow keys.
2012-05-31 20:30:54 +00:00
#holder.graph
.loading.loading-gray
2011-11-13 11:58:45 +00:00
:javascript
var branch_graph;
2013-05-02 11:36:53 +00:00
branch_graph = new BranchGraph($("#holder"), {
url: '#{project_graph_path(@project, @ref, @options.merge(format: :json))}',
2013-05-02 11:36:53 +00:00
commit_url: '#{project_commit_path(@project, 'ae45ca32').gsub("ae45ca32", "%s")}',
ref: '#{@ref}',
commit_id: '#{@commit.id}'
2011-11-13 11:58:45 +00:00
});