From: Stas Vilchik Date: Mon, 4 May 2015 15:12:20 +0000 (+0200) Subject: SONAR-6210 show key, hide parameters X-Git-Tag: 5.2-RC1~2069 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=49fdd0ac71102ba323aa837fdd2d85a7c12150e9;p=sonarqube.git SONAR-6210 show key, hide parameters --- diff --git a/server/sonar-web/src/main/hbs/coding-rules/rule/coding-rules-rule-meta.hbs b/server/sonar-web/src/main/hbs/coding-rules/rule/coding-rules-rule-meta.hbs index 48bf5031ebf..010f827776d 100644 --- a/server/sonar-web/src/main/hbs/coding-rules/rule/coding-rules-rule-meta.hbs +++ b/server/sonar-web/src/main/hbs/coding-rules/rule/coding-rules-rule-meta.hbs @@ -3,7 +3,9 @@ {{name}}
- {{key}} + + @@ -12,8 +14,6 @@
-

{{key}}

-
{{#if debtCharName}} @@ -58,32 +62,4 @@ {{/if}} -

{{t 'coding_rules.parameters'}}

- - {{#each params}} - - - - - {{/each}} -
{{key}} -

{{{htmlDesc}}}

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