Mercurial > hg > soundsoftware-site
diff app/views/repositories/_revision_graph.html.erb @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | |
children | 433d4f72a19b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/views/repositories/_revision_graph.html.erb Fri Feb 24 19:09:32 2012 +0000 @@ -0,0 +1,13 @@ +<%= javascript_include_tag "raphael.js" %> +<script type="text/javascript" charset="utf-8"> + var chunk = {commits:<%= commits.values.to_json %>} +</script> +<%= javascript_include_tag "revision_graph.js" %> + +<script type="text/javascript"> + Event.observe(window,"load", function(){ + branchGraph(document.getElementById("holder")); + }) +</script> + +<div id="holder" class="graph"></div>