Allow VCS URLs to be null in projects

This commit is contained in:
Alex Cabal 2024-12-16 21:31:49 -06:00
parent d902074285
commit 7a3c7ad503
12 changed files with 94 additions and 36 deletions

View file

@ -16,10 +16,12 @@ Youve been assigned a new ebook project to **<?= $role ?>**:
- Reviewer: [<?= Formatter::EscapeMarkdown($project->Reviewer->DisplayName) ?>](<?= Formatter::EscapeMarkdown(SITE_URL . $project->Reviewer->Url . '/projects') ?>)
- Repository: [GitHub](<?= Formatter::EscapeMarkdown($project->VcsUrl) ?>)
<? if($project->VcsUrl !== null){ ?>
- Repository: [<?= Formatter::EscapeHtml($project->VcsUrlDomain) ?>](<?= Formatter::EscapeMarkdown($project->VcsUrl) ?>)
<? } ?>
<? if($project->DiscussionUrl !== null){ ?>
- Discussion: [Google Groups](<?= Formatter::EscapeMarkdown($project->DiscussionUrl) ?>)
- Discussion: [<?= Formatter::EscapeHtml($project->DiscussionUrlDomain) ?>](<?= Formatter::EscapeMarkdown($project->DiscussionUrl) ?>)
<? } ?>
If youre unable to <?= $role ?> this ebook project, [email the Editor-in-Chief](mailto:<?= Formatter::EscapeMarkdown(EDITOR_IN_CHIEF_EMAIL_ADDRESS) ?>) and well reassign it.