From ab9ecd382492dfdc175d2c4730c239c0d035f9bc Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 5 Mar 2015 15:49:17 +0100 Subject: SONAR-6206 Manual Measures of type String are not displayed in the Custom Measure widget --- .../resources/org/sonar/plugins/core/widgets/custom_measures.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/custom_measures.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/custom_measures.html.erb index 6f084e38350..3ea96e27bd8 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/custom_measures.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/custom_measures.html.erb @@ -18,7 +18,7 @@

<%= measure.metric.short_name -%> - <% if measure.value.nil? -%> + <% if measure.value.nil? && measure.text_value.nil? -%> <%= format_measure(measure, :url => url_for_drilldown(measure, :period => period), :period => period) -%> <% else %> <%= format_measure(measure, :url => url_for_drilldown(measure)) -%> -- cgit v1.2.3