-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Hubert Krzysztofiak
committed
Mar 25, 2022
1 parent
248fb69
commit 5b1fec3
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace EscolaLms\TemplatesEmail\Consultations; | ||
|
||
class ReminderAboutTermVariables extends CommonConsultationVariables | ||
{ | ||
public static function defaultSectionsContent(): array | ||
{ | ||
return [ | ||
'title' => __('Report term ":consultation"', [ | ||
'consultation' => self::VAR_CONSULTATION_TITLE, | ||
]), | ||
'content' => self::wrapWithMjml(__('<h1>Hello :user_name!</h1><p>I would like to remind you about the upcoming consultation :consultation, which will take place :proposed_term.</p>', [ | ||
'user_name' => self::VAR_USER_NAME, | ||
'consultation' => self::VAR_CONSULTATION_TITLE, | ||
'proposed_term' => self::VAR_CONSULTATION_PROPOSED_TERM | ||
]),), | ||
]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters