Redmine/app/views/repositories/_revision_graph.html.erb

14 lines
397 B
Plaintext

<%= javascript_include_tag "raphael.js" %>
<script type="text/javascript" charset="utf-8">
var chunk = {commits:<%= commits.values.to_json.html_safe %>}
</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>