|
@switch (notification.reason_type) {
@case (ScmNotificationLogTypesEnum.REMINDER) {
⏰
}
@case (ScmNotificationLogTypesEnum.ESCALATION) {
‼️
}
@case (ScmNotificationLogTypesEnum.STATUS_OVERVIEW) {
🗓️
}
@case (ScmNotificationLogTypesEnum.CUMULATIVE_STATUS_SUMMARY) {
📑
}
}
|
@if (notification.object_type === ScmNotificationLogRecipientTypesEnum.USER) {
{{ notification.recipient }}
}
@if (notification.object_type === ScmNotificationLogRecipientTypesEnum.MAILINGLIST) {
{{ notification.recipient }}
}
|
@if (notification.unconfirmed_resources.length > 0) {
@for (unconfirmed_resource of notification.unconfirmed_resources; track unconfirmed_resource) {
-
{{ unconfirmed_resource.name }}
}
}
|
@if (notification.confirmed_resources.length > 0) {
@for (confirmed_resource of notification.confirmed_resources; track confirmed_resource) {
-
@switch (confirmed_resource.status) {
@case (1) {
}
@case (2) {
}
@case (3) {
}
@default {
}
}
{{ confirmed_resource.name }}
}
}
|
{{ notification.created }}
|
@if (notification.has_been_sent) {
{{ t('Yes') }}
}
@if (!notification.has_been_sent) {
{{ t('No') }}
}
|
}