newsletter - little fixes
This commit is contained in:
parent
025b3a1d08
commit
21e058b336
3 changed files with 2 additions and 5 deletions
|
|
@ -1,7 +1,6 @@
|
|||
title: Email
|
||||
status:
|
||||
draft: Brouillon
|
||||
unlisted: Testé
|
||||
listed: Envoyé
|
||||
image:
|
||||
back: black
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ tabs:
|
|||
- width: 1/2
|
||||
sections:
|
||||
newsletters:
|
||||
label: Emails
|
||||
label: Lettres
|
||||
type: pages
|
||||
template: email
|
||||
info: "{{ page.status == 'listed' ? 'envoyé' : 'brouillon' }}"
|
||||
info: "{{ page.status == 'listed' ? 'envoyée' : 'brouillon' }}"
|
||||
|
|
|
|||
|
|
@ -86,8 +86,6 @@ return [
|
|||
'published' => Kirby\Toolkit\Date::Today(),
|
||||
]);
|
||||
$emailPage->changeStatus('listed');
|
||||
} else {
|
||||
$emailPage->changeStatus('unlisted');
|
||||
}
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue