mirror of
https://github.com/standardebooks/web.git
synced 2025-07-21 14:55:13 -04:00
Add more data to ebook metadata detail
This commit is contained in:
parent
59a2d30d23
commit
fe5bb8ed48
2 changed files with 16 additions and 3 deletions
|
@ -14,6 +14,22 @@
|
|||
<td>Identifier:</td>
|
||||
<td><?= Formatter::EscapeHtml($ebook->Identifier) ?></td>
|
||||
</tr>
|
||||
<? if($ebook->IsPlaceholder() && $ebook->EbookPlaceholder !== null){ ?>
|
||||
<tr>
|
||||
<td>Is wanted:</td>
|
||||
<td><? if($ebook->EbookPlaceholder->IsWanted){ ?>☑<? }else{ ?>☐<? } ?></td>
|
||||
</tr>
|
||||
<? if($ebook->EbookPlaceholder->IsWanted){ ?>
|
||||
<tr>
|
||||
<td>Is Patron selection:</td>
|
||||
<td><? if($ebook->EbookPlaceholder->IsPatron){ ?>☑<? }else{ ?>☐<? } ?></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<td>Difficulty:</td>
|
||||
<td><?= ucfirst($ebook->EbookPlaceholder->Difficulty->value) ?></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<? if(sizeof($ebook->Projects) > 0){ ?>
|
||||
<tr>
|
||||
<td>Projects:</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue