From: Jean-Baptiste Lievremont Date: Wed, 8 Oct 2014 14:53:26 +0000 (+0200) Subject: SONAR-5574 Display description of parameters on a custom rule X-Git-Tag: 4.5.1-RC1~58 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e75946f4fec001cdf1d84624ff51366db2a02328;p=sonarqube.git SONAR-5574 Display description of parameters on a custom rule --- diff --git a/server/sonar-web/src/main/hbs/coding-rules/coding-rules-detail.hbs b/server/sonar-web/src/main/hbs/coding-rules/coding-rules-detail.hbs index 380c8e400aa..49e14ad7d1b 100644 --- a/server/sonar-web/src/main/hbs/coding-rules/coding-rules-detail.hbs +++ b/server/sonar-web/src/main/hbs/coding-rules/coding-rules-detail.hbs @@ -115,14 +115,16 @@
{{key}}
+

{{{htmlDesc}}}

{{#if ../../templateKey}} +
{{#if defaultValue }} {{defaultValue}} {{else}} - {{t 'coding_rules.parameter.empty'}} + {{t 'coding_rules.parameter.empty'}} {{/if}} +
{{else}} - {{{htmlDesc}}} {{#if defaultValue}}
{{t 'coding_rules.parameters.default_value'}} {{defaultValue}}
{{/if}}