Better handling of missing covers
This commit is contained in:
parent
9c9eb0d2c3
commit
75e4362044
2 changed files with 7 additions and 0 deletions
|
@ -149,7 +149,13 @@
|
|||
?>
|
||||
<div class="book">
|
||||
<div class="cover">
|
||||
<?php
|
||||
if ($entry->book->hasCover) {
|
||||
?>
|
||||
<a class="fancycover" href="<?php echo $entry->getCover () ?>"><img src="<?php echo $entry->getCoverThumbnail () ?>" alt="cover" /></a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="download">
|
||||
<?php
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue