mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 06:40:33 -04:00
23 lines
579 B
PHP
23 lines
579 B
PHP
<?
|
|
/**
|
|
* @var Artwork $artwork
|
|
*/
|
|
?>
|
|
<? if($artwork !== null){ ?>
|
|
<? if($artwork->Status !== null){ ?>
|
|
<?= ucfirst($artwork->Status->value) ?>
|
|
<? } ?>
|
|
<? if($artwork->EbookUrl !== null){ ?>
|
|
— in use
|
|
<? if($artwork->EbookUrl !== null){ ?>
|
|
by
|
|
<? if($artwork->Ebook !== null && $artwork->Ebook->Url !== null){ ?>
|
|
<i>
|
|
<a href="<?= $artwork->Ebook->Url ?>"><?= Formatter::EscapeHtml($artwork->Ebook->Title) ?></a>
|
|
</i>
|
|
<? }else{ ?>
|
|
<code><?= Formatter::EscapeHtml($artwork->EbookUrl) ?></code> (unreleased)
|
|
<? } ?>
|
|
<? } ?>
|
|
<? } ?>
|
|
<? } ?>
|