Skip to content

Commit 3e38da2

Browse files
authored
Polish off DBL notification email (#3527)
2 parents 3b65c22 + e9ed2e8 commit 3e38da2

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

src/components/dbl-upload-notification/handlers/dbl-upload-notification.handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export class DBLUploadNotificationHandler
126126
.render(DBLUpload, props)
127127
.with({
128128
to,
129-
...(this.config.email.notifyDblUpload && {
129+
...(this.config.email.notifyDblUpload?.replyTo && {
130130
'reply-to': this.config.email.notifyDblUpload.replyTo,
131131
}),
132132
})

src/components/dbl-upload-notification/templates/dbl-upload-email.template.tsx

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,20 +140,28 @@ export function DBLUpload(props: Props) {
140140
<Column>
141141
<Head>
142142
🔗{' '}
143-
<a href={dblFormUrl}>Seed Company DBL Publication Request Form</a>
143+
<a href={dblFormUrl} style={{ backgroundColor: 'yellow' }}>
144+
Seed Company DBL Publication Request Form
145+
</a>
144146
</Head>
145-
</Column>
146-
</Section>
147-
<Section>
148-
<Column>
149147
<Text>
150148
All of this information can be entered in the form linked above
151149
(with yellow highlight).
152150
</Text>
151+
</Column>
152+
</Section>
153+
<Section>
154+
<Column>
155+
<Head>
156+
🔗{' '}
157+
<a href={useFrontendUrl('/pdfs/dbl-uploads.pdf')}>
158+
Seed Company DBL Information Sheet
159+
</a>
160+
</Head>
153161
<Text>
154-
Let me know if you have any questions—I’m happy to assist!
162+
Please review the linked information sheet for additional details
163+
about the DBL, the process, and licensing options.
155164
</Text>
156-
<Text>Best regards, Darcie</Text>
157165
</Column>
158166
</Section>
159167
</EmailTemplate>

0 commit comments

Comments
 (0)