mirror of
https://github.com/standardebooks/web.git
synced 2025-07-10 00:30:28 -04:00
Link to discussion if project producer has no email
This commit is contained in:
parent
5782d6ca7d
commit
93a1b40b89
2 changed files with 11 additions and 9 deletions
|
@ -36,6 +36,8 @@ $includeStatus = $includeStatus ?? true;
|
|||
<td class="producer">
|
||||
<? if($project->ProducerEmail !== null){ ?>
|
||||
<a href="mailto:<?= Formatter::EscapeHtml($project->ProducerEmail) ?>"><?= Formatter::EscapeHtml($project->ProducerName) ?></a>
|
||||
<? }elseif($project->DiscussionUrl !== null){ ?>
|
||||
<a href="<?= Formatter::EscapeHtml($project->DiscussionUrl) ?>"><?= Formatter::EscapeHtml($project->ProducerName) ?></a>
|
||||
<? }else{ ?>
|
||||
<?= Formatter::EscapeHtml($project->ProducerName) ?>
|
||||
<? } ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue