aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-03-05 15:49:17 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-03-05 16:25:09 +0100
commitab9ecd382492dfdc175d2c4730c239c0d035f9bc (patch)
tree0a7fcb95640c0c327b4133eb1ecbb0a4ee85945b /plugins
parent9cf7b8ea33b28ef2aef32931dd79508bc8af7124 (diff)
downloadsonarqube-ab9ecd382492dfdc175d2c4730c239c0d035f9bc.tar.gz
sonarqube-ab9ecd382492dfdc175d2c4730c239c0d035f9bc.zip
SONAR-6206 Manual Measures of type String are not displayed in the Custom Measure widget
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/custom_measures.html.erb2
1 files changed, 1 insertions, 1 deletions
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 @@
<p class="widget-measure widget-measure-main">
<span class="widget-label"><%= measure.metric.short_name -%></span>
<span class="nowrap">
- <% 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)) -%>