View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000019 | CAMAP/InterAMAP44 | CAMAP | public | 2023-05-08 13:43 | 2023-07-08 15:55 |
| Reporter | Amaury | Assigned To | Amaury | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | Preprod | ||||
| Target Version | v1 (Prod InterAMAP44) | Fixed in Version | v1 (Prod InterAMAP44) | ||
| Summary | 0000019: Modifier sender & pied de page mail | ||||
| Description | camap-ts/packages/api-core/src/tools/defaultTheme.ts | ||||
| Tags | No tags attached. | ||||
|
|
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;
|
|
|
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/',
|
| 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 |