View Issue Details

IDProjectCategoryView StatusLast Update
0000019CAMAP/InterAMAP44CAMAPpublic2023-07-08 15:55
ReporterAmaury Assigned ToAmaury  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionPreprod 
Target Versionv1 (Prod InterAMAP44)Fixed in Versionv1 (Prod InterAMAP44) 
Summary0000019: Modifier sender & pied de page mail
Description

camap-ts/packages/api-core/src/tools/defaultTheme.ts

TagsNo tags attached.

Activities

Amaury

2023-05-08 13:43

administrator  

modifier sender mail.txt (2,031 bytes)   
camap-ts/packages/api-core/src/tools/defaultTheme.ts

import { Theme } from 'camap-common';

const DEFAULT_THEME = (host: string): Theme => ({
  id: 'default',
  name: 'CAMAP',
  supportEmail: 'inter@amap44.org',
  email: {
    senderEmail: 'noreply@camap.amap44.org',
    brandedEmailLayoutFooter: `<p>CAMAP - INTERAMAP44, 1 Boulevard Boulay-Paty 44100 Nantes</p>
    <div style="display: flex; justify-content: center; align-items: center;">
        <a href="https://camap.alilo.fr" target="_blank" rel="noreferrer noopener notrack" class="bold-green" style="text-decoration:none !important; padding: 8px; display: flex; align-items: center;">
            <img src="${host}/img/emails/website.png" alt="Site web" height="25" style="width:auto!important; height:25px!important; vertical-align:middle;" valign="middle" width="auto"/>Site web
        </a>
        <a href="https://www.facebook.com/groups/camap44" target="_blank" rel="noreferrer noopener notrack" class="bold-green" style="text-decoration:none !important; padding: 8px; display: flex; align-items: center;">
            <img src="${host}/img/emails/facebook.png" alt="Facebook" height="25" style="width:auto!important; height:25px!important; vertical-align:middle;" valign="middle" width="auto"/>Facebook
        </a>
        <a href="https://www.youtube.com/channel/UC3cvGxAUrbN9oSZmr1oZEaw" target="_blank" rel="noreferrer noopener notrack" class="bold-green" style="text-decoration:none !important; padding: 8px; display: flex; align-items: center;">
            <img src="${host}/img/emails/youtube.png" alt="YouTube" height="25" style="width:auto!important; height:25px!important; vertical-align:middle;" valign="middle" width="auto"/>YouTube
        </a>
    </div>`,
  },
  terms: {
    termsOfServiceLink:
      'https://www.cagette.net/wp-content/uploads/2020/11/cgu-.pdf',
    termsOfSaleLink: 'https://www.cagette.net/wp-content/uploads/2020/11/cgv.pdf',
    platformTermsLink: '',
  },
});

export default DEFAULT_THEME;
modifier sender mail.txt (2,031 bytes)   

Amaury

2023-05-18 13:30

administrator   ~0000037

defaultTheme.ts.patch (1,832 bytes)   
6c6
<   supportEmail: 'support@cagette.net',
---
>   supportEmail: 'inter@amap44.org',
8,10c8,10
<     senderEmail: 'noreply@mj.cagette.net',
<     brandedEmailLayoutFooter: `<p>CAMAP - ALILO SCOP, 4 impasse Durban, 33000 Bordeaux</p>
<     <div style="display: flex; justify-content: center; align-items: center;">	
---
>     senderEmail: 'noreply@camap.amap44.org',
>     brandedEmailLayoutFooter: `<p>CAMAP - INTERAMAP44, 1 Boulevard Boulay-Paty 44100 Nantes</p>
>     <div style="display: flex; justify-content: center; align-items: center;">
14c14
<         <a href="https://www.facebook.com/cagette" target="_blank" rel="noreferrer noopener notrack" class="bold-green" style="text-decoration:none !important; padding: 8px; display: flex; align-items: center;">
---
>         <a href="https://www.facebook.com/groups/camap44" target="_blank" rel="noreferrer noopener notrack" class="bold-green" style="text-decoration:none !important; padding: 8px; display: flex; align-items: center;">
17,19d16
<         <a href="https://www.youtube.com/channel/UC3cvGxAUrbN9oSZmr1oZEaw" target="_blank" rel="noreferrer noopener notrack" class="bold-green" style="text-decoration:none !important; padding: 8px; display: flex; align-items: center;">
<             <img src="${host}/img/emails/youtube.png" alt="YouTube" height="25" style="width:auto!important; height:25px!important; vertical-align:middle;" valign="middle" width="auto"/>YouTube
<         </a>
23,26c20,22
<     termsOfServiceLink:
<       'https://www.cagette.net/wp-content/uploads/2020/11/cgu-.pdf',
<     termsOfSaleLink: 'https://www.cagette.net/wp-content/uploads/2020/11/cgv.pdf',
<     platformTermsLink: '',
---
>     termsOfServiceLink: 'https://amap44.org/cgu/',
>     termsOfSaleLink: 'https://amap44.org/cgu/',
>     platformTermsLink: 'https://amap44.org/cgu/',
defaultTheme.ts.patch (1,832 bytes)   

Issue History

Date Modified Username Field Change
2023-05-08 13:43 Amaury New Issue
2023-05-08 13:43 Amaury Status new => assigned
2023-05-08 13:43 Amaury Assigned To => Amaury
2023-05-08 13:43 Amaury File Added: modifier sender mail.txt
2023-05-08 14:14 Amaury Severity tweak => minor
2023-05-08 14:15 Amaury Status assigned => resolved
2023-05-18 13:30 Amaury Note Added: 0000037
2023-05-18 13:30 Amaury File Added: defaultTheme.ts.patch
2023-05-24 22:05 Amaury Target Version Preprod => v1 (Prod InterAMAP44)
2023-06-18 23:46 Amaury Resolution open => fixed
2023-06-18 23:46 Amaury Fixed in Version => v1 (Prod InterAMAP44)
2023-07-08 15:55 Amaury Status resolved => closed
2023-07-15 16:49 Amaury Category CAMAP Amap44 => CAMAP