oneuptime/StatusPage
Simon Larsen 5c697105f3
refactor: Update email template and resource handling in StatusPageSubscriberReport
The code changes in the `StatusPageSubscriberReport.hbs` template file update the rendering of the resource table based on whether there are any resources to display. If there are resources, the table is rendered with the resource details. If there are no resources, a message is displayed indicating that no resources have been added yet.

In addition, the `SendReportsToSubscribers.ts` file in the `Workers/Jobs/StatusPage` directory has been modified to handle the case where there are no status page resources. If there are no resources, the email report is not sent and an error is logged.

These changes improve the handling of resources in the status page subscriber report and ensure that the email report is only sent when there are resources to include.
2024-07-25 15:23:56 -06:00
..
dev-env
public fix status check 2023-09-28 11:09:07 +00:00
src refactor: Update email template and resource handling in StatusPageSubscriberReport 2024-07-25 15:23:56 -06:00
.dockerignore
.gitattributes
.gitignore
Dockerfile.tpl chore: Update Dockerfile templates to include CommonProject dependencies 2024-07-24 19:04:25 -06:00
index.d.ts refactor: Update symbol type to use lowercase 'symbol' in ColumnAccessControl files 2024-06-14 12:09:53 +01:00
nodemon.json fix nodemon 2023-09-13 13:07:29 +05:30
package-lock.json chore: Update package.json dependencies for CommonProject 2024-07-25 07:42:45 -06:00
package.json chore: Update package.json dependencies for CommonProject 2024-07-25 07:42:45 -06:00
Serve.ts refactor: Update symbol type to use lowercase 'symbol' in ColumnAccessControl files 2024-06-14 12:09:53 +01:00
tsconfig.json Update tsconfig.json files with resolveJsonModule option 2024-04-08 14:03:07 +01:00
webpack.config.js refactor: Update symbol type to use lowercase 'symbol' in ColumnAccessControl files 2024-06-14 12:09:53 +01:00