Renaming graph
This commit is contained in:
parent
ef19c23cc3
commit
fe056bed2e
|
@ -10,7 +10,7 @@ class GraphsController < ApplicationController
|
||||||
|
|
||||||
helper IssuesHelper
|
helper IssuesHelper
|
||||||
|
|
||||||
def issue_status_flow_graph
|
def recent_status_changes_graph
|
||||||
# Get the top visible projects by issue count
|
# Get the top visible projects by issue count
|
||||||
sql = " select is1.id as old_status, is2.id as new_status, count(*) as changes_count"
|
sql = " select is1.id as old_status, is2.id as new_status, count(*) as changes_count"
|
||||||
sql << " from journals as j"
|
sql << " from journals as j"
|
||||||
|
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
@ -1,5 +1,5 @@
|
||||||
<h3><%= l(:label_graphs_issue_status_flow) %></h3>
|
<h3><%= l(:label_graphs_issue_status_flow) %></h3>
|
||||||
|
|
||||||
<div style="text-align: center">
|
<div style="text-align: center">
|
||||||
<%= tag("embed", :width => "300", :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'graphs', :action => 'issue_status_flow_graph')) %>
|
<%= tag("embed", :width => "300", :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'graphs', :action => 'recent_status_changes_graph')) %>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue
Block a user