+
+
+ {alert.severity === 'critical'
+ ? t('Critical')
+ : t('Warning')}
+
+
+ {channelIdFromAlert(alert) === '—'
+ ? t('Unknown channel')
+ : t('Channel {{id}}', {
+ id: channelIdFromAlert(alert),
+ })}
+
+
+
+ {alert.message}
+
+ {alert.delivery_status && (
+
+ {t('Delivery status')}:{' '}
+ {DELIVERY_STATUS_LABELS[alert.delivery_status]
+ ? t(
+ DELIVERY_STATUS_LABELS[
+ alert.delivery_status
+ ]
+ )
+ : alert.delivery_status}
+ {alert.delivery_attempts != null
+ ? ` (${alert.delivery_attempts})`
+ : ''}
+
+ )}
+
+ {alert.key}
+
+
+ {canEdit &&
+ /^\d+$/.test(channelIdFromAlert(alert)) && (
+