2012-01-17 23:04:27 +01:00
|
|
|
.top-tabs
|
|
|
|
= link_to graph_project_path(@project), :class => "tab #{'active' if current_page?(graph_project_path(@project)) }" do
|
|
|
|
%span
|
|
|
|
Network Graph
|
2011-11-13 12:58:45 +01:00
|
|
|
#holder.graph
|
|
|
|
|
|
|
|
:javascript
|
|
|
|
var chunk1={commits:#{@commits_json}};
|
|
|
|
var days=#{@days_json};
|
|
|
|
initGraph();
|
|
|
|
$(function(){
|
|
|
|
branchGraph($("#holder")[0]);
|
|
|
|
});
|