Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
18
app/views/repositories/_revision_graph.html.erb
Normal file
18
app/views/repositories/_revision_graph.html.erb
Normal file
|
@ -0,0 +1,18 @@
|
|||
<%= javascript_tag do %>
|
||||
function revisionGraphHandler(){
|
||||
drawRevisionGraph(
|
||||
document.getElementById('holder'),
|
||||
<%= commits.to_json.html_safe %>,
|
||||
<%= space %>
|
||||
);
|
||||
}
|
||||
$(document).ready(revisionGraphHandler);
|
||||
$(window).resize(revisionGraphHandler);
|
||||
<% end %>
|
||||
|
||||
<div id="holder" class="revision-graph"></div>
|
||||
|
||||
<% content_for :header_tags do %>
|
||||
<%= javascript_include_tag 'raphael' %>
|
||||
<%= javascript_include_tag 'revision_graph' %>
|
||||
<% end %>
|
Loading…
Add table
Add a link
Reference in a new issue