{{ t('Create new contact') }}
@if (post.containers._ids.length === 0) {
{{ t('Please select a container.') }}
}
{{ t('For browser notifications, a user needs to be assigned to the contact. User Id will be automatically available as $_CONTACTOITCUSERID$ contact macro.') }}
{{ t('Host notification') }}
@if (post.host_push_notifications_enabled) { }
@if (post.host_push_notifications_enabled && pushNotificationHasPermission !== undefined && !pushNotificationHasPermission) {
{{ t('No permission for push notification. Enable it in your browser settings!') }}
} @if (post.host_push_notifications_enabled && pushNotificationHasPermission !== undefined && pushNotificationConnected !== undefined && pushNotificationHasPermission && !pushNotificationConnected) {
{{ t('Connection to push notification service is not established') }}
} @if (post.host_push_notifications_enabled && pushNotificationHasPermission !== undefined && pushNotificationConnected !== undefined && pushNotificationHasPermission && pushNotificationConnected) {
{{ t('Connection to push notification service established successfully') }}
}
{{ t('Service notification') }}
@if (post.service_push_notifications_enabled) { }
@if (post.service_push_notifications_enabled && pushNotificationHasPermission !== undefined && !pushNotificationHasPermission) {
{{ t('No permission for push notification. Enable it in your browser settings!') }}
} @if (post.service_push_notifications_enabled && pushNotificationHasPermission !== undefined && pushNotificationConnected !== undefined && pushNotificationHasPermission && !pushNotificationConnected) {
{{ t('Connection to push notification service is not established') }}
} @if (post.service_push_notifications_enabled && pushNotificationHasPermission !== undefined && pushNotificationConnected !== undefined && pushNotificationHasPermission && pushNotificationConnected) {
{{ t('Connection to push notification service established successfully') }}
}
{{ t('Read more about browser push notification in the') }} {{ t('documentation') }}

{{ t('Define contact macros') }}:
@if (hasMacroErrors) { }
@for (customVariable of post.customvariables; track customVariable; let i = $index) {
}