mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 18:42:00 -04:00
Continue fleshing out project management system
This commit is contained in:
parent
657ecc68d4
commit
051e286a6d
19 changed files with 420 additions and 108 deletions
28
templates/EmailManagerNewProjectText.php
Normal file
28
templates/EmailManagerNewProjectText.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?
|
||||
/**
|
||||
* @var Project $project
|
||||
* @var string $role
|
||||
*/
|
||||
?>
|
||||
You’ve been assigned a new ebook project to **<?= $role ?>**:
|
||||
|
||||
- Title: [<?= Formatter::EscapeMarkdown($project->Ebook->Title) ?>](<?= Formatter::EscapeMarkdown(SITE_URL . $project->Ebook->Url) ?>)
|
||||
|
||||
- Producer: <? if($project->ProducerEmail !== null){ ?>[<?= Formatter::EscapeMarkdown($project->ProducerName) ?>](mailto:<?= Formatter::EscapeMarkdown($project->ProducerEmail) ?>)<? }elseif($project->DiscussionUrl !== null){ ?>[<?= Formatter::EscapeMarkdown($project->ProducerName) ?>](<?= Formatter::EscapeMarkdown($project->DiscussionUrl) ?>)<? }else{ ?><?= Formatter::EscapeMarkdown($project->ProducerName) ?><? } ?>
|
||||
|
||||
|
||||
- Manager: [<?= Formatter::EscapeMarkdown($project->Manager->DisplayName) ?>](<?= Formatter::EscapeMarkdown(SITE_URL . $project->Manager->Url . '/projects') ?>)
|
||||
|
||||
- Reviewer: [<?= Formatter::EscapeMarkdown($project->Reviewer->DisplayName) ?>](<?= Formatter::EscapeMarkdown(SITE_URL . $project->Reviewer->Url . '/projects') ?>)
|
||||
|
||||
- Repository: [GitHub](<?= Formatter::EscapeMarkdown($project->VcsUrl) ?>)
|
||||
|
||||
<? if($project->DiscussionUrl !== null){ ?>
|
||||
- Discussion: [Google Groups](<?= Formatter::EscapeMarkdown($project->DiscussionUrl) ?>)
|
||||
|
||||
<? } ?>
|
||||
If you’re unable to <?= $role ?> this ebook project, [email the Editor-in-Chief](mailto:<?= Formatter::EscapeMarkdown(EDITOR_IN_CHIEF_EMAIL_ADDRESS) ?>) and we’ll reassign it.
|
||||
|
||||
- [See all of the ebook projects you’re currently assigned to.](<?= SITE_URL ?><?= $project->Manager->Url ?>/projects)
|
||||
|
||||
- [See all ebook projects.](<?= SITE_URL ?>/projects)
|
Loading…
Add table
Add a link
Reference in a new issue