a47032bc29
Conflicts: vendor/assets/javascripts/branch-graph.js
16 lines
444 B
Text
16 lines
444 B
Text
%h3.page_title Project Network Graph
|
|
%br
|
|
.graph_holder
|
|
%h4
|
|
%small You can move around the graph by using the arrow keys.
|
|
#holder.graph
|
|
.loading.loading-gray
|
|
|
|
:javascript
|
|
var branch_graph;
|
|
$(function(){
|
|
branch_graph = new BranchGraph($("#holder"), {
|
|
url: '#{url_for controller: 'projects', action: 'graph', format: :json}',
|
|
commit_url: '#{url_for controller: 'projects', action: 'show'}/commits/%s'
|
|
});
|
|
});
|