<span class="nowrap">
<%= format_measure(new_sqale_debt_ratio,
:period => dashboard_configuration.period_index,
- :url => url_for_drilldown('new_technical_debt', :period => dashboard_configuration.period_index)) %>
+ :url => url_for_drilldown('new_sqale_debt_ratio', :period => dashboard_configuration.period_index)) %>
</span>
</div>
<% end %>
'new_overall_coverage': 'new_overall_uncovered_lines',
'new_overall_line_coverage': 'new_overall_uncovered_lines',
- 'new_overall_branch_coverage': 'new_overall_uncovered_conditions',
-
- 'new_sqale_debt_ratio': 'new_technical_debt'
+ 'new_overall_branch_coverage': 'new_overall_uncovered_conditions'
};
url += 'resolved=false'
end
else
- if metric_key == 'new_sqale_debt_ratio'
- url = url_for(options.merge({:controller => 'drilldown', :action => 'measures', :metric => 'new_technical_debt', :highlight => 'new_sqale_debt_ratio', :id => options[:resource]||@resource.id}))
- else
- url = url_for(options.merge({:controller => 'drilldown', :action => 'measures', :metric => metric_key, :id => options[:resource]||@resource.id}))
- end
+ url = url_for(options.merge({:controller => 'drilldown', :action => 'measures', :metric => metric_key, :id => options[:resource]||@resource.id}))
end
url