@if (scorignInformation && scorignInformation.operator) {

@switch (scorignInformation.operator) { @case ('scorescalargreater') { {{ t('Score scalar greater operator') }} } @case ('scorescalarlesser') { {{ t('Score scalar lesser operator') }} } @case ('scorerangeinclusive') { {{ t('Score range inclusive operator') }} } @case ('scorerangeexclusive') { {{ t('Score range exclusive operator') }} } }

@switch (scorignInformation.operator) { @case ('scorescalargreater') { {{ t('Score for warning') }} ≥ {{ scorignInformation.operator_warning_min }} @if (scorignInformation.servicestatus?.currentState === 1) { } {{ t('Score for critical') }} ≥ {{ scorignInformation.operator_critical_min }} @if (scorignInformation.servicestatus?.currentState === 2) { } {{ t('Score for unknown') }} ≥ {{ scorignInformation.operator_unknown_min }} @if (scorignInformation.servicestatus?.currentState === 3) { } } @case ('scorescalarlesser') { {{ t('Score for warning') }} ≤ {{ scorignInformation.operator_warning_min }} @if (scorignInformation.servicestatus?.currentState === 1) { } {{ t('Score for critical') }} ≤ {{ scorignInformation.operator_critical_min }} @if (scorignInformation.servicestatus?.currentState === 2) { } {{ t('Score for unknown') }} ≤ {{ scorignInformation.operator_unknown_min }} @if (scorignInformation.servicestatus?.currentState === 3) { } } @case ('scorerangeinclusive') { {{ t('Score for warning') }} @if (scorignInformation.servicestatus?.currentState === 1) { } {{ t('Score for critical') }} @if (scorignInformation.servicestatus?.currentState === 2) { } {{ t('Score for unknown') }} @if (scorignInformation.servicestatus?.currentState === 3) { } } @case ('scorerangeexclusive') { {{ t('Score for warning') }} @if (scorignInformation.servicestatus?.currentState === 1) { } {{ t('Score for critical') }} @if (scorignInformation.servicestatus?.currentState === 2) { } {{ t('Score for unknown') }} @if (scorignInformation.servicestatus?.currentState === 3) { } } }
}