gitlabhq/app/views/projects/graph.html.haml
Koen Punt 40576b8709 Fixed #1509 by converting the entities in js
Converted BranchGraph to some sort of Class
2012-12-07 17:39:40 +01:00

16 lines
359 B
Plaintext

%h3.page_title Project Network Graph
%br
.graph_holder
%h4
%small You can move around the graph by using the arrow keys.
#holder.graph
:javascript
var commits = #{@commits_json}
, days = #{@days_json};
var branch_graph = new BranchGraph(days, commits);
$(function(){
branch_graph.buildGraph($("#holder")[0]);
GraphNav.init();
});