diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-02-17 09:59:06 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-02-17 09:59:06 +0100 |
commit | 738f3ce3c9c13ac383f4c6c95342a20eb88d0dca (patch) | |
tree | b42b21a98967189f93ac39cabcc785e820ec9830 /plugins | |
parent | b51e99bad193b145939e4054fe63bfa722bd7b4e (diff) | |
download | sonarqube-738f3ce3c9c13ac383f4c6c95342a20eb88d0dca.tar.gz sonarqube-738f3ce3c9c13ac383f4c6c95342a20eb88d0dca.zip |
SONAR-5521 apply feedback
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issues.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issues.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issues.html.erb index b0b8814b20f..000f9c35b81 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issues.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/issues.html.erb @@ -34,7 +34,7 @@ title="<%= tooltip -%>" data-toggle="tooltip" data-placement="bottom"> <%= format_measure(technical_debt) -%> </a> - <%= trend_icon(technical_debt) unless dashboard_configuration.selected_period? -%> + <%= dashboard_configuration.selected_period? ? format_variation(technical_debt) : trend_icon(technical_debt) -%> </div> <div class="widget-measure-delta"> <% @@ -72,7 +72,7 @@ <%= format_measure(issues) -%> </a> </span> - <%= trend_icon(issues) unless @dashboard_configuration.selected_period? -%> + <%= dashboard_configuration.selected_period? ? format_variation(issues) : trend_icon(issues) -%> </span> </div> <div class="widget-measure-delta"> |