mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 11:26:37 -04:00
Completely type hint template functions and switch to named arguments
This commit is contained in:
parent
6108b5e53d
commit
124e8343fc
125 changed files with 542 additions and 450 deletions
|
@ -4,9 +4,9 @@
|
|||
* @var string $role
|
||||
* @var User $user
|
||||
*/
|
||||
?><?= Template::EmailHeader(['hasAdminTable' => true, 'letterhead' => true]) ?>
|
||||
?><?= Template::EmailHeader(hasAdminTable: true, hasLetterhead: true) ?>
|
||||
<p>You’ve been assigned a new ebook project to <strong><?= $role ?></strong>:</p>
|
||||
<?= Template::ProjectDetailsTable(['project' => $project, 'useFullyQualifiedUrls' => true, 'showArtworkStatus' => false]) ?>
|
||||
<?= Template::ProjectDetailsTable(project: $project, useFullyQualifiedUrls: true, showArtworkStatus: false) ?>
|
||||
<p>If you’re unable to <?= $role ?> this ebook project, <a href="mailto:<?= EDITOR_IN_CHIEF_EMAIL_ADDRESS ?>">email the Editor-in-Chief</a> and we’ll reassign it.</p>
|
||||
<ul>
|
||||
<li>
|
||||
|
@ -20,4 +20,4 @@
|
|||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<?= Template::EmailFooter(['includeLinks' => false]) ?>
|
||||
<?= Template::EmailFooter(includeLinks: false) ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue