Operator guideEN

Notifications / List

Notification-template inventory built from linked email-template rows, with create navigation, edit navigation, HTML preview, and linked status toggle.

How to use this guide

Start with the main guide

Follow the explanation and examples first. Extra definitions and formulas are available below when you need them.

What this page shows

This page is the operator inventory for notification templates. It is the main place to create a new notification template, open the edit flow, inspect the linked email HTML, and switch the linked email-template row on or off.

The page is visually a notifications page, but the rows come from the shared email-template inventory. The page only shows rows that already have a Notification ID.

How the page is organized

The list keeps the same accordion grouping as the email-template inventory. Each section is a template family, and empty families are skipped after the notification filter is applied.

For every row, the operator sees:

  • linked email-template ID
  • internal label
  • linked Notification ID
  • row actions for status toggle, edit, and HTML preview

Important actions

  • Create: opens the notification create form
  • Download: exports the shared email-template catalog, not a notifications-only export
  • Activate / Deactivate: toggles the linked email-template shell active state
  • Edit Notification: opens the notification edit form by Notification ID
  • View Email HTML: opens the linked email-template HTML preview modal

Why operators get confused here

The list is driven by email-template data

Even though the page label is Notifications, the inventory is based on the shared email-template catalog and then filtered to linked notification rows.

That is why the first visible identifier is still the email-template ID, not the notification primary key.

Status belongs to the linked email-template row

The row-level activate or deactivate action changes the linked email-template shell active state.

It does not directly change the notification template body, title, priority, or sender settings. It also does not change the separate notification-active linkage flag that may appear in technical support discussions.

Preview shows the linked email shell

The modal preview renders the English HTML shell from the linked email-template record and applies current casino setting substitutions where possible.

It does not preview the notification message body by itself.

Known caveats

  • Download is a shared email-template export. It can include template rows outside the visible notification-linked list.
  • The downloaded file name can look generic because the export uses shared template-export tooling.
  • The list can look empty when no email-template rows are linked to notifications, even if notification templates exist elsewhere in the system.
  • The HTML preview uses the stored English email shell. Missing English HTML can therefore produce a blank preview even when other notification details exist.
More details

Definitions and formulas

Open only the section you need. The relevant section opens automatically when you request help for a specific item on screen.

Calculations5 topicsOpen details

Visible Notification Row Filter

Logic
The list receives the shared email-template response with `emailTemplateOrder` and grouped `emailTemplate` records., It iterates the ordered template families and keeps only rows where `notificationId` is present., Families with no rows after this filter are not rendered.

Template Family Grouping

Logic
Backend grouping converts each EmailTemplate `type` integer to a template-family name., The rendered family order follows `EMAIL_TEMPLATE_ORDER`., The visible accordion label is the template-family key, not a notification field.

Linked Status Toggle Payload

Logic
The Activate or Deactivate row action sends `emailTemplateId` and the inverted `isActive` value., The update service treats this as a light email-template update., This action updates `EmailTemplate.isActive`; it does not update `EmailTemplate.notificationActive`.

HTML Preview Source

Logic
The preview modal stores the selected row `templateCode` in local state., The preview reads `templateCode.EN || ''`., The preview helper applies current casino settings substitutions to the displayed HTML when possible.

Shared Template Export

Logic
The Download action calls the same shared email-template endpoint with `csvDownload=true`., The current list component does not pass a notification-only filter to the export call., The exported CSV can therefore include email-template rows outside the visible notification-linked list., The frontend download helper can save the file as `transactions.csv`, while the backend also produces a generated CSV attachment filename.
Fields13 topicsOpen details

Template Family

Groups linked notification rows by shared email-template family. Families with no notification-linked rows are skipped.

Data Type
grouped-label

ID

Internal email-template identifier used for linked template status updates and preview inspection.

Data Type
integer
Visible
true

Label

Human-readable name of the linked notification template family.

Data Type
string
Visible
true

Notification ID

Notification record identifier used to open the dedicated notification edit flow.

Data Type
integer
Visible
true
Caveats
Rows without this value are filtered out of the Notifications list.

Action

Contains the linked email-template status toggle, notification edit navigation, and linked email HTML preview action.

Data Type
action-group
Visible
true

Linked Email Status

Controls whether the linked email-template shell is active. This is the status changed by the Activate or Deactivate row action.

Data Type
boolean
Visible
action-only
Caveats
This is not the notification record status and not the separate EmailTemplate.notificationActive linkage flag.

Linked Email HTML Preview

Stored English HTML shell from the linked email-template record, rendered in the preview modal with casino setting substitutions where possible.

Data Type
html
Visible
modal-only

Notification Active

Internal linkage flag available on the linked email-template record. The Notifications list status button does not change this value.

Data Type
boolean
Visible
false

Template Code

Localized HTML shell stored on the linked email-template record. The list preview currently reads the English value.

Data Type
localized-html-json
Visible
modal-source

Dynamic Data

Merge-variable metadata stored on the linked email-template record.

Data Type
json
Visible
false

Type

Numeric template-family value that is converted into the accordion family label.

Data Type
integer
Visible
false

Created At

Creation timestamp on the linked email-template record.

Data Type
datetime
Visible
false

Updated At

Last update timestamp on the linked email-template record.

Data Type
datetime
Visible
false
More help

Related pages

Notifications

Operator workspace for notification-template inventory, linked email shell preview, and notification create or edit workflow.

Notifications / Form

Create and edit workflow for one notification template, including localized content, sender avatar, and priority settings.

Activity Tag Rules / List

Main inventory for activity-driven tag rules, with search, activity and status filters, grouped rows, clone, edit, and run actions.

Affiliate Deals / List

Searchable table of affiliate deal rows with PID filter, create action, dashboard shortcut, and edit/delete row actions.

Affiliate Payment Settings / List

Affiliate payment settings inventory page for reviewing configured rows and opening saved records.

Affiliate Settings / List

Affiliate inventory list used to review saved affiliates and open detail or report flows.