*** app/controllers/graphs_controller.rb Sat Jun 13 16:02:58 2009 --- app/controllers/graphs_controller.rb Tue Oct 27 21:55:49 2009 *************** *** 92,98 **** :show_data_points => false, :show_data_values => false, :stagger_x_labels => true, ! :style_sheet => "/plugin_assets/redmine_graphs/stylesheets/issue_growth.css", :width => 720, :x_label_format => "%Y-%m-%d" }) --- 92,98 ---- :show_data_points => false, :show_data_values => false, :stagger_x_labels => true, ! # :style_sheet => "/plugin_assets/redmine_graphs/stylesheets/issue_growth.css", :width => 720, :x_label_format => "%Y-%m-%d" }) *************** *** 154,162 **** :show_data_points => false, :show_data_values => false, :stagger_x_labels => true, ! :style_sheet => "/plugin_assets/redmine_graphs/stylesheets/issue_age.css", :width => 720, ! :x_label_format => "%b %d" }) # Group issues --- 154,162 ---- :show_data_points => false, :show_data_values => false, :stagger_x_labels => true, ! # :style_sheet => "/plugin_assets/redmine_graphs/stylesheets/issue_age.css", :width => 720, ! :x_label_format => "%Y-%m-%d" }) # Group issues *************** *** 202,210 **** :show_data_points => true, :show_data_values => false, :stagger_x_labels => true, ! :style_sheet => "/plugin_assets/redmine_graphs/stylesheets/target_version.css", :width => 800, ! :x_label_format => "%b %d" }) --- 202,210 ---- :show_data_points => true, :show_data_values => false, :stagger_x_labels => true, ! # :style_sheet => "/plugin_assets/redmine_graphs/stylesheets/target_version.css", :width => 800, ! :x_label_format => "%Y-%m-%d" }) *** app/views/graphs/issue_growth.html.erb Sat Jun 13 16:02:58 2009 --- app/views/graphs/issue_growth.html.erb Mon Oct 26 20:13:59 2009 *************** *** 1,11 ****

<%= l(:label_graphs_issue_growth) %>

<% 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 %> \ No newline at end of file --- 1,15 ----

<%= l(:label_graphs_issue_growth) %>

<% unless @issues.nil? %> ! <%= content_tag("object", "", :width => "100%", :height => 300, :type => "image/svg+xml", :data => url_for(:controller => 'graphs', :action => 'issue_growth_graph')) if @project.nil? %> ! <%= content_tag("object", "", :width => "100%", :height => 300, :type => "image/svg+xml", :data => 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 %> ! ! <% content_for :header_tags do %> ! <%= javascript_include_tag 'sie', :defer => "defer" %> ! <% end %> *** app/views/graphs/old_issues.html.erb Sat Jun 13 16:02:58 2009 --- app/views/graphs/old_issues.html.erb Mon Oct 26 22:35:25 2009 *************** *** 1,7 ****

<%= l(:label_graphs_old_issues) %>

<% unless @issues_by_created_on.empty? %> ! <%= tag("embed", :width => "100%", :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'graphs', :action => 'issue_age_graph')) if @project.nil? %> ! <%= tag("embed", :width => "100%", :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'graphs', :action => 'issue_age_graph', :project_id => @project.id)) unless @project.nil? %> <% end %>
--- 1,7 ----

<%= l(:label_graphs_old_issues) %>

<% unless @issues_by_created_on.empty? %> ! <%= content_tag("object", "", :width => "100%", :height => 300, :type => "image/svg+xml", :data => url_for(:controller => 'graphs', :action => 'issue_age_graph')) if @project.nil? %> ! <%= content_tag("object", "", :width => "100%", :height => 300, :type => "image/svg+xml", :data => url_for(:controller => 'graphs', :action => 'issue_age_graph', :project_id => @project.id)) unless @project.nil? %> <% end %>
*************** *** 34,37 **** <% content_for :sidebar do %> <%= render :partial => 'issues/sidebar' %> ! <% end %> \ No newline at end of file --- 34,42 ---- <% content_for :sidebar do %> <%= render :partial => 'issues/sidebar' %> ! <% end %> ! ! ! <% content_for :header_tags do %> ! <%= javascript_include_tag 'sie', :defer => "defer" %> ! <% end %> *** app/views/my/blocks/_recent_assigned_to_changes_graph.html.erb Sat Jun 13 16:02:58 2009 --- app/views/my/blocks/_recent_assigned_to_changes_graph.html.erb Mon Oct 26 22:46:15 2009 *************** *** 1,5 ****

<%= l(:label_graphs_assigned_to_status_flow) %>

! <%= tag("embed", :width => "280", :height => 280, :type => "image/svg+xml", :src => url_for(:controller => 'graphs', :action => 'recent_assigned_to_changes_graph')) %>
--- 1,9 ----

<%= l(:label_graphs_assigned_to_status_flow) %>

! <%= content_tag("object", :width => "280", :height => 280, :type => "image/svg+xml", :data => url_for(:controller => 'graphs', :action => 'recent_assigned_to_changes_graph')) %>
+ + <% content_for :header_tags do %> + <%= javascript_include_tag 'sie', :defer => "defer" %> + <% end %> *** app/views/my/blocks/_recent_status_changes_graph.html.erb Sat Jun 13 16:02:58 2009 --- app/views/my/blocks/_recent_status_changes_graph.html.erb Mon Oct 26 22:47:08 2009 *************** *** 1,5 ****

<%= l(:label_graphs_issue_status_flow) %>

! <%= tag("embed", :width => "280", :height => 280, :type => "image/svg+xml", :src => url_for(:controller => 'graphs', :action => 'recent_status_changes_graph')) %>
--- 1,9 ----

<%= l(:label_graphs_issue_status_flow) %>

! <%= content_tag("object", :width => "280", :height => 280, :type => "image/svg+xml", :data => url_for(:controller => 'graphs', :action => 'recent_status_changes_graph')) %>
+ + <% content_for :header_tags do %> + <%= javascript_include_tag 'sie', :defer => "defer" %> + <% end %> *** config/locales/ja.yml Tue Oct 27 22:05:39 2009 --- config/locales/ja.yml Tue Oct 27 00:27:43 2009 *************** *** 0 **** --- 1,9 ---- + ja: + label_graphs: グラフ + label_graphs_total_vs_closed_issues: 全チケットと終了チケット + label_graphs_old_issues: 放置された未完了チケット + label_graphs_issue_growth: 全チケットの時間変化 + label_graphs_issue_status_flow: 最近のステータス変化 (24時間以内) + label_graphs_assigned_to_status_flow: 最近の担当者変化 (24時間以内) + warning_no_issues: グラフに対応するチケットがありません。 + \ No newline at end of file *** lang/ja.yml Tue Oct 27 22:05:39 2009 --- lang/ja.yml Tue Oct 27 00:27:45 2009 *************** *** 0 **** --- 1,7 ---- + label_graphs: グラフ + label_graphs_total_vs_closed_issues: 全チケットと終了チケット + label_graphs_old_issues: 放置された未完了チケット + label_graphs_issue_growth: 全チケットの時間変化 + label_graphs_issue_status_flow: 最近のステータス変化 (24時間以内) + label_graphs_assigned_to_status_flow: 最近の担当者変化 (24時間以内) + warning_no_issues: グラフに対応するチケットがありません。 *** lib/target_version_graph_hook.rb Sat Jun 13 16:02:58 2009 --- lib/target_version_graph_hook.rb Tue Oct 27 21:51:06 2009 *************** *** 2,9 **** class TargetVersionGraphHook < Redmine::Hook::ViewListener def view_versions_show_bottom(context = { }) if !context[:version].fixed_issues.empty? ! output = "
#{ l(:label_graphs_total_vs_closed_issues) }" ! output << tag("embed", :width => "100%", :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'graphs', :action => 'target_version_graph', :id => context[:version])) output << "
" return output end --- 2,10 ---- class TargetVersionGraphHook < Redmine::Hook::ViewListener def view_versions_show_bottom(context = { }) if !context[:version].fixed_issues.empty? ! output = javascript_include_tag( 'sie', :defer => "defer" ) ! output << "
#{ l(:label_graphs_total_vs_closed_issues) }" ! output << content_tag("object", "", :width => "100%", :height => 300, :type => "image/svg+xml", :data => url_for(:controller => 'graphs', :action => 'target_version_graph', :id => context[:version])) output << "
" return output end