##// END OF EJS Templates
scm: git: mercurial: add a new feature of revision graph (#5501)...
scm: git: mercurial: add a new feature of revision graph (#5501) Contributed by Jan TopiƄski. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7725 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r7605:5d98eb6ece85
r7605:5d98eb6ece85
Show More
_revision_graph.html.erb
13 lines | 373 B | text/plain | TextLexer
/ app / views / repositories / _revision_graph.html.erb
<%= 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">
window.onload = function(){
branchGraph(document.getElementById("holder"));
}
</script>
<div id="holder" class="graph"></div>