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