##// END OF EJS Templates
requirements: changes
requirements: changes

File last commit:

r72:3c69f25a
r177:d5ec49a7
Show More
rule_read_only.html
25 lines | 1.0 KiB | text/html | HtmlLexer
<div class="rule-read-only">
<span class="form-group">
{{rule_ctrlr.readOnlyPossibleFields[rule_ctrlr.rule.field]}}
</span>
<span ng-if="rule_ctrlr.rule.field != '__AND__' && rule_ctrlr.rule.field !='__OR__' && rule_ctrlr.rule.field !='__NOT__'">
is {{rule_ctrlr.ruleDefinitions.allOps[rule_ctrlr.rule.op]}} {{rule_ctrlr.rule.value}}
</span>
<span ng-if="rule_ctrlr.rule.field == '__AND__' || rule_ctrlr.rule.field =='__OR__' || rule_ctrlr.rule.field =='__NOT__'">
<p ng-if="parent"><strong>Subrules</strong></p>
<div ng-repeat="subrule in rule_ctrlr.rule.rules" class="m-l-2">
<div class="panel panel-default">
<div class="panel-body form-inline">
<recursive>
<rule-read-only rule="subrule" rule-definitions="rule_ctrlr.ruleDefinitions" parent-rule="null" parent-obj="rule_ctrlr.parentObj"></rule-read-only>
</recursive>
</div>
</div>
</div>
</span>
</div>