Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct email based on comments #106

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 '${dataset.external_project_id}' (Dataset #${dataset.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