From 5317c9c860997c47b99eb48c539cc78aa6ae5ada Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Fri, 22 Mar 2013 12:53:14 +0100 Subject: [PATCH] SONAR-3879 Fix issue where beta status is always displayed on rule search --- .../WEB-INF/app/views/rules_configuration/_rule.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb index a323db690ff..7289ac0e07f 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb @@ -29,9 +29,9 @@ - <% unless false %> + <% unless rule.ready? %>
- <% if true %> + <% if rule.beta? %> <%= message('rules.status.beta') %> <% elsif rule.deprecated? %> <%= message('rules.status.deprecated') %> -- 2.39.5