From e75946f4fec001cdf1d84624ff51366db2a02328 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lievremont Date: Wed, 8 Oct 2014 16:53:26 +0200 Subject: [PATCH] SONAR-5574 Display description of parameters on a custom rule --- .../src/main/hbs/coding-rules/coding-rules-detail.hbs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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}} -- 2.39.5