@if (hasCreateReplicationPermission) { } @if (hasExecuteReplicationPermission) { } {{ 'BUTTON.ACTIONS' | translate }} @if (selectedRow && !selectedRow.enabled) { } @if ( !selectedRow || (selectedRow && selectedRow.enabled) ) { } {{ 'REPLICATION.NAME' | translate }} {{ 'REPLICATION.STATUS' | translate }} {{ 'REPLICATION.SRC_REGISTRY' | translate }} {{ 'REPLICATION.REPLICATION_MODE' | translate }} {{ 'REPLICATION.DESTINATION_NAMESPACE' | translate }} {{ 'REPLICATION.DES_REPO_FLATTENING' | translate }} {{ 'REPLICATION.BANDWIDTH' | translate }} {{ 'REPLICATION.DESCRIPTION' | translate }} {{ 'REPLICATION.REPLICATION_TRIGGER' | translate }} {{ 'REPLICATION.PLACEHOLDER' | translate }} @for (p of rules; track p; let i = $index) { {{ p.name }}
@if (!p?.enabled) {
{{ 'WEBHOOK.DISABLED' | translate }}
} @if (p?.enabled) {
{{ 'WEBHOOK.ENABLED' | translate }}
}
{{ p.src_registry ? p.src_registry.name : '' }} {{ p.src_registry && p.src_registry.id > 0 ? 'pull-based' : 'push-based' }} {{ p.dest_registry ? p.dest_registry.name : '' }} : {{ p.dest_namespace ? p.dest_namespace : '-' }} {{ getFlattenLevelString(p.dest_namespace_replace_count) | translate }} {{ getBandwidthStr(p.speed) | translate }} {{ p.description ? trancatedDescription(p.description) : '-' }} @if (p.description && p.description.length > 35) { } {{ p.description }} {{ getTriggerTypeI18n(p.trigger) | translate }} @if (p?.trigger?.trigger_settings?.cron) { {{ p?.trigger?.trigger_settings?.cron }} }
} {{ 'PAGINATION.PAGE_SIZE' | translate }} @if (totalCount) { {{ pagination.firstItem + 1 }} - {{ pagination.lastItem + 1 }} {{ 'REPLICATION.OF' | translate }} }{{ totalCount }} {{ 'REPLICATION.ITEMS' | translate }}