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

Add template for periodic notifications #15

Merged
merged 1 commit into from
Sep 19, 2024
Merged
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
9 changes: 9 additions & 0 deletions templates/html/analysis_periodic_notification.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{{ template "header" . }}

<p>The analysis <b>{{.analysisname}}</b> is still running and has been running for <b>{{.runduration}}</b>. This is a regularly scheduled courtesy reminder to ensure you don't use up your quota!</p>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is the only thing in here different from the status change email template.


<p><b>Analysis launch date:</b> {{.startdate}}</p>
{{if .access_url}}<p><b>Access your VICE analysis:</b> {{.access_url}}</p>{{- end}}
{{ if or (eq .analysisstatus "Completed") (eq .analysisstatus "Failed")}} <p><b>Results folder:</b> <a href="{{.DEOutputFolderLink}}" target="_blank">{{.analysisresultsfolder}}</a></p>{{- end}}

{{ template "footer" . }}