mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 03:27:14 +00:00
Allow wrapping of comment text so that the width doesn't overlap the sidebar while using multiple repositories. Some code cleanup also. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8850 e93f8b46-1217-0410-a6f0-8f06a7374b81
14 lines
419 B
Plaintext
14 lines
419 B
Plaintext
<%= 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 %>,
|
|
<%= space %>);
|
|
});
|
|
</script>
|
|
|
|
<div id="holder" class="revision-graph" style="width: <%= (space + 1) * 20 %>px;"></div>
|