@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 (filteredRulesList.length === 0 && !newRule) {
No matching rules
} @else { @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 } } }
}