mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 15:50:29 -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>
|
||||
|
|
|
@ -81,9 +81,6 @@
|
|||
<!-- <li>
|
||||
<p><a href="https://www.gutenberg.org/ebooks/70844">Twilight Sleep</a> by Edith Wharton</p>
|
||||
</li> -->
|
||||
<!-- <li>
|
||||
<p><a href="https://www.gutenberg.org/ebooks/71351">Murder in the Maze</a> by J. J. Connington</p>
|
||||
</li> -->
|
||||
<li>
|
||||
<p><a href="https://www.gutenberg.org/ebooks/70996">The D’Arblay Mystery</a> by R. Austin Freeman</p>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue