redmine-graphs-plugin/app/views/graphs/issue_growth.html.erb
2009-05-14 14:00:39 -07:00

11 lines
650 B
Plaintext

<h2><%= l(:label_graphs_issue_growth) %></h2>
<% unless @issues.nil? %>
<%= tag("embed", :width => "100%", :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'graphs', :action => 'issue_growth_graph')) if @project.nil? %>
<%= tag("embed", :width => "100%", :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'graphs', :action => 'issue_growth_graph', :project_id => @project.id)) unless @project.nil? %>
<% else %>
<%= render :partial => 'issues/list_simple', :locals => { :issues => @issues } %>
<% end %>
<% content_for :sidebar do %>
<%= render :partial => 'issues/sidebar' %>
<% end %>