updated links
This commit is contained in:
parent
1381f3fdbd
commit
7d256c9f3f
5 changed files with 6 additions and 6 deletions
|
|
@ -19,12 +19,12 @@
|
|||
<button>⚓︎ Zum Artikel</button>
|
||||
</a>
|
||||
<hr>
|
||||
<div class="center"><a id="hide" href="https://blauwasser-mausis.de/blog/bootsuche-england">
|
||||
<div class="center"><a id="hide" href="https://blauwasser-mausis.de/user">
|
||||
<span>Abbestellen</span>
|
||||
</a></p>
|
||||
</div>
|
||||
|
||||
<a id="admin" href="https://backend.blauwasser-mausis.de/?secret={{data.secret}}">Approve</a>
|
||||
<a id="admin" href="https://backend.blauwasser-mausis.de/admin/newsletter/{{data.secret}}">Approve</a>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
<button>⚓︎ Zum Artikel</button>
|
||||
</a>
|
||||
<hr>
|
||||
<div class="center"><a id="hide" href="https://blauwasser-mausis.de/blog/bootsuche-england">
|
||||
<div class="center"><a id="hide" href="https://blauwasser-mausis.de/user">
|
||||
<span>Abbestellen</span>
|
||||
</a></p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
<p>Dein persönlicher Code, um alle Funktionen nutzen zu können: {{data.user_code}}</p>
|
||||
|
||||
<a href="https://blauwasser-mausis.de/">
|
||||
<a href="https://blauwasser-mausis.de/user">
|
||||
<span>Daten löschen</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ def approve_newsletter(secret: str = Form(), session: Session = Depends(get_sess
|
|||
mails: list[BatchEmailRequest] = []
|
||||
for user in subscribed_users:
|
||||
html = create_html_from_template("newsletter", {"user": user, "article": article_data })
|
||||
mail = BatchEmailRequest(to=[Address(email=user.email,name=user.name)],html=html)
|
||||
mail = BatchEmailRequest(to=[Address(email=user.email,name=user.name)], html=html)
|
||||
mails.append(mail)
|
||||
send_batch_mail(mails)
|
||||
|
||||
|
|
|
|||
|
|
@ -54,4 +54,4 @@ export const navigateBackAndReload = () => {
|
|||
export const navigatePathAndReload = (path: string) => {
|
||||
navigate(path, { history: 'replace' });
|
||||
setTimeout(() => window.location.reload(), 50);
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue