diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-03-17 14:50:13 +0100 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-03-17 14:50:13 +0100 |
commit | 6670250d096a6740b5d6909d431847dda9bc669b (patch) | |
tree | 7b2a76240aea5d3ecbabbb900fc22137b654fb29 /plugins | |
parent | f3fe7decde4253cd2b47ec47b604b32601f9e2f7 (diff) | |
download | sonarqube-6670250d096a6740b5d6909d431847dda9bc669b.tar.gz sonarqube-6670250d096a6740b5d6909d431847dda9bc669b.zip |
SONAR-4366 Fix display of passed quality gate
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/alerts.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/alerts.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/alerts.html.erb index 111522b1aee..1f1f243340a 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/alerts.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/alerts.html.erb @@ -3,7 +3,7 @@ css_class = "widget color_#{m.alert_status}" if m.alert_status==Metric::TYPE_LEVEL_OK label = "<b>#{message('widget.alerts.no_alert')}</b>." - elif m.alert_status==Metric::TYPE_LEVEL_WARN + elsif m.alert_status==Metric::TYPE_LEVEL_WARN label = "<b>#{message('widget.alerts.warnings')}</b>#{h(m.alert_text)}." else label = "<b>#{message('widget.alerts.errors')}</b>#{h(m.alert_text)}." |