|
|
@ -9,6 +9,7 @@ |
|
|
|
'app/issue', |
|
|
|
'app/issue', |
|
|
|
'app/task', |
|
|
|
'app/task', |
|
|
|
'app/impediment', |
|
|
|
'app/impediment', |
|
|
|
|
|
|
|
'app/burndown', |
|
|
|
:plugin => 'redmine_backlogs' %> |
|
|
|
:plugin => 'redmine_backlogs' %> |
|
|
|
|
|
|
|
|
|
|
|
<%= javascript_include_tag url_for(:controller => 'rb_server_variables', |
|
|
|
<%= javascript_include_tag url_for(:controller => 'rb_server_variables', |
|
|
@ -23,7 +24,16 @@ |
|
|
|
|
|
|
|
|
|
|
|
<div class="contextual"> |
|
|
|
<div class="contextual"> |
|
|
|
<% if @sprint.has_burndown? %> |
|
|
|
<% 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 %> |
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
|
|
<span id="col_width"> |
|
|
|
<span id="col_width"> |
|
|
|