@if (isEditMode() || policyService.selectedPolicyHasNodeConditions()) {

Environment Conditions

@if (isEditMode()) { privacyIDEA Nodes @for (node of availablePinodesList(); track $index) { {{ node }} }
Valid time @if (validTimeFormControl.touched && validTimeFormControl.invalid) { Please enter a valid time format, e.g., Mon-Fri: 9-18 or Sat: 10-15 } Client @if (clientFormControl.touched && clientFormControl.invalid) { Please enter a valid client format, e.g., 10.0.0.0/8, !10.0.0.124 }
@for (userAgend of selectedUserAgents(); track $index) {
{{ userAgend }}
}
@if (selectedUserAgents().length > 0) {
}
Add User Agent @if (addUserAgentFormControl.hasError("includesComma")) { User Agent must not contain commas. }
} @else {
@if (selectedPinodes().length > 0) {
privacyIDEA Nodes:
@for (node of selectedPinodes(); track $index) {
{{ node }}
}
} @if (selectedValidTime() != "") {
Valid time:
{{ selectedValidTime() }}
} @if (selectedClient() != "") {
Client:
{{ selectedClient() }}
} @if (selectedUserAgents().length > 0) {
User Agents:
@for (userAgent of selectedUserAgents(); track userAgent) {
{{ userAgent }}
}
}
}
}