@if (rulesList.length === 0 && !newRule) {
@if (isEditable) {
No rules configured for this Processor. Get started by defining your first.
} @else {
No rules configured for this Processor.
}
} @else {
@if (rulesList.length > 0 || !newRule) {
Use original FlowFile for matching rules
}
@if (!newRule) { Search }
@if (flowFilePolicy === 'USE_ORIGINAL' && !reorderDisabled()) {
Reorder rules
} @if (!newRule) { }
@if (!newRule && rulesList.length > 0) {
Displaying {{ filteredRulesList.length }} of {{ rulesList.length }}
} @if (!newRule && rulesList.length > 0 && filteredRulesList.length === 0) {
No matching rules
} @if (allowRuleReordering) { @for (rule of filteredRulesList; track rule.id) {
{{ rule.name }}
{{ rule.comments }}
}
} @else { @for (rule of filteredRulesList; track rule.id) { {{ rule.name }}
{{ rule.comments }}
@if (isEditable) { }
} @if (newRule) { New rule }
}
}