gitlabhq/app/views/projects/graph.html.haml

14 lines
325 B
Plaintext
Raw Normal View History

.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]);
});