mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10:29 -04:00
Show reviewer information to admins in artwork detail page
This commit is contained in:
parent
ad0badc09e
commit
6f0d1f7aa8
1 changed files with 16 additions and 10 deletions
|
@ -84,6 +84,12 @@ catch(Exceptions\ArtworkNotFoundException){
|
|||
<td>Submitted by</td>
|
||||
<td><? if($artwork->SubmitterUserId === null){ ?>Anonymous<? }else{ ?><a href="mailto:<?= Formatter::ToPlainText($artwork->Submitter->Email) ?>"><? if($artwork->Submitter->Name !== null){ ?> <?= Formatter::ToPlainText($artwork->Submitter->Name) ?><? }else{ ?><?= Formatter::ToPlainText($artwork->Submitter->Email) ?><? } ?></a><? } ?></td>
|
||||
</tr>
|
||||
<? if($artwork->Reviewer !== null){ ?>
|
||||
<tr>
|
||||
<td>Reviewed by</td>
|
||||
<td><a href="mailto:<?= Formatter::ToPlainText($artwork->Reviewer->Email) ?>"><? if($artwork->Reviewer->Name !== null){ ?> <?= Formatter::ToPlainText($artwork->Reviewer->Name) ?><? }else{ ?><?= Formatter::ToPlainText($artwork->Reviewer->Email) ?><? } ?></a></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<? } ?>
|
||||
</table>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue