From 107165c862f8db4abd2a52ae5b9b369b70fe98f8 Mon Sep 17 00:00:00 2001 From: Ronni Skansing Date: Tue, 24 Feb 2026 19:38:24 +0100 Subject: [PATCH] improve modal style on campaign page Signed-off-by: Ronni Skansing --- .../src/routes/campaign/[id]/+page.svelte | 68 +++++++++++++------ 1 file changed, 48 insertions(+), 20 deletions(-) diff --git a/frontend/src/routes/campaign/[id]/+page.svelte b/frontend/src/routes/campaign/[id]/+page.svelte index 68e7d069..6f4f292c 100644 --- a/frontend/src/routes/campaign/[id]/+page.svelte +++ b/frontend/src/routes/campaign/[id]/+page.svelte @@ -2375,7 +2375,9 @@
-
    +
    • Stop any pending delivery
    • Links in e-mails and landing pages will stop working
    • Campaign will be set as completed
    • @@ -2390,7 +2392,9 @@ verification="confirm" >
      -
        +
        • Stop any pending delivery
        • Links in e-mails and landing pages will stop working
        • Anonymization is permanent and not reversable
        • @@ -2408,24 +2412,34 @@ {#if sendMessageRecipient} {@const recipient = campaignRecipients.find((r) => r.id === sendMessageRecipient.id)} {#if recipient} -

          +

          {recipient.sentAt ? `Are you sure you want to send the campaign message again to:` : `Are you sure you want to send the campaign message to:`}

          -
          -

          {sendMessageRecipient.name}

          -

          {sendMessageRecipient.email}

          -

          +

          +

          + {sendMessageRecipient.name} +

          +

          + {sendMessageRecipient.email} +

          +

          Sender type: {campaign.template?.smtpConfigurationID ? 'SMTP' : 'API Sender'}

          {#if recipient.sentAt} -

          +

          ⚠️ Previously sent on {new Date(recipient.sentAt).toLocaleString()}

          {/if}
          -

          This action will immediately send the message.

          +

          + This action will immediately send the message. +

          {/if} {/if}
          @@ -2440,17 +2454,27 @@ {#if setAsSentRecipient} {@const recipient = campaignRecipients.find((r) => r.id === setAsSentRecipient.id)} {#if recipient} -

          Are you sure you want to mark the campaign as sent for:

          -
          -

          {setAsSentRecipient.name}

          -

          {setAsSentRecipient.email}

          +

          + Are you sure you want to mark the campaign as sent for: +

          +
          +

          + {setAsSentRecipient.name} +

          +

          + {setAsSentRecipient.email} +

          {#if recipient.sentAt} -

          +

          ⚠️ Already marked as sent on {new Date(recipient.sentAt).toLocaleString()}

          {/if}
          -

          +

          This action will mark the message as sent without actually sending it.

          {/if} @@ -2466,8 +2490,12 @@