]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5579 Show what the default value is on boolean rule parameters
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Wed, 1 Oct 2014 14:03:24 +0000 (16:03 +0200)
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Thu, 2 Oct 2014 13:17:09 +0000 (15:17 +0200)
server/sonar-web/src/main/hbs/coding-rules/coding-rules-quality-profile-activation.hbs

index 560972b992b0454dfd1f17b35ea732692d28ce0e..9e48279434da5f7d2ca3a17abeb5427a6dc23be2 100644 (file)
@@ -45,7 +45,7 @@
             {{else}}
               {{#eq type 'BOOLEAN'}}
               <select name="{{key}}" value="{{value}}">
-                <option value="{{defaultValue}}">{{t 'default'}}</option>
+                <option value="{{defaultValue}}">{{t 'default'}} ({{t defaultValue}})</option>
                 <option value="true"{{#eq value 'true'}} selected="selected"{{/eq}}>{{t 'true'}}</option>
                 <option value="false"{{#eq value 'false'}} selected="selected"{{/eq}}>{{t 'false'}}</option>
               </select>