Merge pull request #2823 from hiroponz/switchable-branch-on-network-graph

Switchable the main branch on network graph
This commit is contained in:
Dmitriy Zaporozhets 2013-01-30 22:21:19 -08:00
commit 8c50707dd4
11 changed files with 45 additions and 24 deletions

View file

@ -1,17 +0,0 @@
%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: '#{project_commit_path(@project, 'ae45ca32').gsub("ae45ca32", "%s")}'
});
});