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

13 lines
346 B
Plaintext
Raw Normal View History

<%= javascript_include_tag 'raphael.js' %>
<%= javascript_include_tag 'revision_graph.js' %>
<script type="text/javascript" charset="utf-8">
Event.observe(window, 'load', function(){
revisionGraph(
document.getElementById("holder"),
<%= commits.to_json.html_safe %>);
});
</script>
<div id="holder" class="graph"></div>