Skip to content

Commit

Permalink
correct email based on comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nafiz1001 committed Oct 10, 2024
1 parent ef3cc73 commit bdeb47a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions triton-client/src/components/ProjectDetail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ function ProjectDetail() {
{
target: ".data-sets-container",
content:
"The datasets that have been released in Freezeman, relating to the project, will be displayed here.",
"The datasets that have been released, relating to the project, will be displayed here.",
},
]

useEffect(() => {
;(async () => {
; (async () => {
const runs = await dispatch(fetchRuns(projectExternalId))
const datasets: TritonDataset[] = []
for (const run of runs) {
Expand Down
4 changes: 2 additions & 2 deletions triton-server/src/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const sendLatestReleasedNotificationEmail = async () => {
let lastDate: string | undefined = undefined
for (const dataset of releasedDatasets) {
if (dataset.released_status_count > 0) {
const subject = `Dataset #${dataset.id} for project '${dataset.external_project_id}' is ready for staging for download.`
const subject = `The dataset for project P015605 (Dataset #${dataset.id}) for project '${dataset.external_project_id}' is now ready for staging and then download.`
const results = await email.broadcastEmailsOfProject(
dataset.external_project_id,
async (send) => {
Expand All @@ -148,7 +148,7 @@ export const sendLatestReleasedNotificationEmail = async () => {
- Dataset release time: ${new Date(dataset.latest_release_update).toUTCString()} (UTC)<br/><br/>
Datasets can be downloaded from the MGC Data Portal.
To access the Data Portal, please login to your Hercules account and click on the Data Portal button on the top menu.<br/>
Datasets can be downloaded using SFTP or Globus using the credential provided to you during the staging process.<br/><br/>
You can download the dataset via SFTP or Globus using the credentials provided during the staging process.<br/><br/>
If you forgot or didn't receive your credential, you can reset your password in the Data Portal.<br/>
If you have any issues, please contact us at ${config.mail.techSupport}.<br/><br/>
Thank you.<br/>`,
Expand Down

0 comments on commit bdeb47a

Please sign in to comment.