diff --git a/src/email/email.go b/src/email/email.go index 7021f89..5a71a2d 100644 --- a/src/email/email.go +++ b/src/email/email.go @@ -96,12 +96,12 @@ type TimeMachineEmailData struct { Username string UserEmail string DiscordUsername string - MediaUrl string + MediaUrls []string DeviceInfo string Description string } -func SendTimeMachineEmail(profileUrl, username, userEmail, discordUsername, mediaUrl, deviceInfo, description string, perf *perf.RequestPerf) error { +func SendTimeMachineEmail(profileUrl, username, userEmail, discordUsername string, mediaUrls []string, deviceInfo, description string, perf *perf.RequestPerf) error { perf.StartBlock("EMAIL", "Time machine email") defer perf.EndBlock() @@ -110,7 +110,7 @@ func SendTimeMachineEmail(profileUrl, username, userEmail, discordUsername, medi Username: username, UserEmail: userEmail, DiscordUsername: discordUsername, - MediaUrl: mediaUrl, + MediaUrls: mediaUrls, DeviceInfo: deviceInfo, Description: description, }) diff --git a/src/templates/src/email_time_machine.html b/src/templates/src/email_time_machine.html index 6bd6e08..92178ca 100644 --- a/src/templates/src/email_time_machine.html +++ b/src/templates/src/email_time_machine.html @@ -1,5 +1,10 @@
Submission by {{ .Username }} ({{ .UserEmail }}) {{ if .DiscordUsername }} On Discord: {{ .DiscordUsername }} {{ end }}
-Submitted url: {{ .MediaUrl }}
+Submitted urls:
+
{{ .DeviceInfo }}Description:
- Take video of yourself using an old device. The video should: + Take videos of yourself using an old device. The videos should:
- Upload the video somewhere publicly accessible, then share the link here. We can download videos from file-sharing services or any video service supported by youtube-dl. See licensing terms. + Upload the videos somewhere publicly accessible, then share the link here. We can download videos from file-sharing services or any video service supported by youtube-dl. See licensing terms. +
++ If you have a comparable modern device, feel free to submit video of that as well!
By submitting this form, you are granting us permission to: