]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5928 The "effort_to_fix" property description should be available in rule descr...
authorStas Vilchik <vilchiks@gmail.com>
Tue, 6 Jan 2015 16:59:38 +0000 (17:59 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 6 Jan 2015 16:59:38 +0000 (17:59 +0100)
server/sonar-web/src/main/hbs/coding-rules/rule/coding-rules-rule-meta.hbs

index af307386b1d54bfc703889200750a303354bd2d2..0973adf128369bfa06c317c18796676efb315e15 100644 (file)
@@ -74,7 +74,8 @@
 
     {{#if debtRemFnCoeff}}
       <li class="coding-rules-detail-property"
-          data-toggle="tooltip" data-placement="bottom" title="{{t 'coding_rules.remediation_function.coeff'}}">
+          data-toggle="tooltip" data-placement="bottom"
+          title="{{#if effortToFixDescription}}{{effortToFixDescription}}{{else}}{{t 'coding_rules.remediation_function.coeff'}}{{/if}}">
         {{debtRemFnCoeff}}
       </li>
     {{/if}}