mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-11 15:12:37 +01:00
#1153: Remove debug output
This commit is contained in:
parent
313e6ee106
commit
458d46da9e
1 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ options = {
|
||||||
<% #TODO: Move data handling to model. Show value as percentage %>
|
<% #TODO: Move data handling to model. Show value as percentage %>
|
||||||
<%= pie_chart data, options.merge({
|
<%= pie_chart data, options.merge({
|
||||||
'title': {'display': true, 'text': t('stats.spread_of_actions_for_all_context')},
|
'title': {'display': true, 'text': t('stats.spread_of_actions_for_all_context')},
|
||||||
'onClick': 'function(event, array) { console.log(array); window.location.href = "' + url_for(:controller => 'contexts', :action => 'show', :id => -1).gsub('-1', '') + '" + array[0]._chart.chart.data.ids[array[0]._index]; }'
|
'onClick': 'function(event, array) { window.location.href = "' + url_for(:controller => 'contexts', :action => 'show', :id => -1).gsub('-1', '') + '" + array[0]._chart.chart.data.ids[array[0]._index]; }'
|
||||||
}) %>
|
}) %>
|
||||||
|
|
||||||
<% data = {
|
<% data = {
|
||||||
|
|
@ -44,7 +44,7 @@ Stats::TopContextsQuery.new(current_user, :running => true).result.map { |contex
|
||||||
}
|
}
|
||||||
%>
|
%>
|
||||||
<%= pie_chart data, options.merge({
|
<%= pie_chart data, options.merge({
|
||||||
'onClick': 'function(event, array) { console.log(array); window.location.href = "' + url_for(:controller => 'contexts', :action => 'show', :id => -1).gsub('-1', '') + '" + array[0]._chart.chart.data.ids[array[0]._index]; }',
|
'onClick': 'function(event, array) { window.location.href = "' + url_for(:controller => 'contexts', :action => 'show', :id => -1).gsub('-1', '') + '" + array[0]._chart.chart.data.ids[array[0]._index]; }',
|
||||||
'title': {'display': true, 'text': t('stats.spread_of_running_actions_for_visible_contexts')}}) %>
|
'title': {'display': true, 'text': t('stats.spread_of_running_actions_for_visible_contexts')}}) %>
|
||||||
|
|
||||||
<br style="clear:both">
|
<br style="clear:both">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue