<%- dataseries = @burndown[:series].keys.sort{|a, b| l(a) <=> l(b) } %> <%- content_for :header_tags do %> <%= stylesheet_link_tag 'jquery.jqplot.min.css', :plugin => 'redmine_backlogs' %> <%= javascript_include_tag 'jquery-1.4.2.min.js', :plugin => 'redmine_backlogs' %> <%= javascript_include_tag 'jquery.jqplot/jquery.jqplot.min.js', :plugin => 'redmine_backlogs' %> <%= javascript_include_tag 'jquery.jqplot/plugins/jqplot.highlighter.js', :plugin => 'redmine_backlogs' %> <%= javascript_include_tag 'jquery.cookies.2.2.0.min.js', :plugin => 'redmine_backlogs' %> <%- end %>
Series <% dataseries.each do |series| %> <%= l(series) %>
<% end %>