<div class="coding-rules-detail-description rule-desc markdown">{{{htmlDesc}}}</div>
-{{#if isEditable}}
- <div class="coding-rules-detail-description">
- <div class="button-group">
- {{#if isManual}}
- <button id="coding-rules-detail-manual-rule-change">{{t 'edit'}}</button>
- {{else}}
- <button id="coding-rules-detail-custom-rule-change">{{t 'edit'}}</button>
- {{/if}}
- <button id="coding-rules-detail-rule-delete" class="button-red">{{t 'delete'}}</button>
- </div>
- </div>
-{{else}}
+{{#unless isEditable}}
{{#unless isManual}}
<div class="coding-rules-detail-description coding-rules-detail-description-extra">
<div id="coding-rules-detail-description-extra">
</div>{{/if}}
</div>
{{/unless}}
-{{/if}}
+{{/unless}}
{{#if params}}
</div>
{{/if}}
+{{#if isEditable}}
+ <div class="coding-rules-detail-description">
+ <div class="button-group">
+ {{#if isManual}}
+ <button id="coding-rules-detail-manual-rule-change">{{t 'edit'}}</button>
+ {{else}}
+ <button id="coding-rules-detail-custom-rule-change">{{t 'edit'}}</button>
+ {{/if}}
+ <button id="coding-rules-detail-rule-delete" class="button-red">{{t 'delete'}}</button>
+ </div>
+ </div>
+{{/if}}
+
{{#if isTemplate}}
<div class="coding-rules-detail-custom-rules-section">
coding_rules.create_manual_rule=Create Manual Rule
coding_rules.custom_rule=Custom Rule
coding_rules.custom_rule.title=This rule has been created through customization of a rule template
+coding_rules.custom_rule.activation_notice=Note: parameters of a custom rule are not customizable on rule activation, only on custom rule edition.
coding_rules.custom_rules=Custom Rules
coding_rules.delete.custom.confirm=Are you sure you want to delete custom rule "{0}"?
coding_rules.delete.manual.confirm=Are you sure you want to delete manual rule "{0}"?