Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Add a View dashboard button to the group request rejection email

Rafi2fa63dd65eb6
diff --git a/packages/email/src/templates/program-application-rejected.tsx b/packages/email/src/templates/program-application-rejected.tsx
index 0212c0abf5..234869cf8c 100644
--- a/packages/email/src/templates/program-application-rejected.tsx
+++ b/packages/email/src/templates/program-application-rejected.tsx
@@ -125,8 +125,16 @@ export default function ProgramApplicationRejected({
</Text>
) : null}
- {!isApplyingToAdditionalGroup &&
- reapplicationTimeframe === "instant" ? (
+ {isApplyingToAdditionalGroup ? (
+ <Section className="my-8 mt-8">
+ <Link
+ href={`${PARTNERS_DOMAIN}/programs/${program.slug}`}
+ className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"
+ >
+ View dashboard
+ </Link>
+ </Section>
+ ) : reapplicationTimeframe === "instant" ? (
<Section className="my-8 mt-8">
<Link
href={`${PARTNERS_DOMAIN}/apply/${program.slug}`}