|
|
|
@ -9,6 +9,7 @@ |
|
|
|
|
'app/issue', |
|
|
|
|
'app/task', |
|
|
|
|
'app/impediment', |
|
|
|
|
'app/burndown', |
|
|
|
|
:plugin => 'redmine_backlogs' %> |
|
|
|
|
|
|
|
|
|
<%= javascript_include_tag url_for(:controller => 'rb_server_variables', |
|
|
|
@ -23,7 +24,16 @@ |
|
|
|
|
|
|
|
|
|
<div class="contextual"> |
|
|
|
|
<% if @sprint.has_burndown? %> |
|
|
|
|
<a id='show_charts'><%= l(:label_burndown) %></a> |
|
|
|
|
<%= link_to(l('backlogs.show_burndown_chart'), |
|
|
|
|
{}, |
|
|
|
|
:class => 'show_burndown_chart')%> |
|
|
|
|
|
|
|
|
|
<%= javascript_tag " |
|
|
|
|
jQuery(document).ready(function($){ |
|
|
|
|
console.log('ready'); |
|
|
|
|
var burndown = RB.Factory.initialize(RB.Burndown, $('.show_burndown_chart')); |
|
|
|
|
burndown.setSprintId(#{@sprint.id}); |
|
|
|
|
});"%> |
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
<span id="col_width"> |
|
|
|
|