Fix display when no cover is found
This commit is contained in:
parent
89f18ad34f
commit
38d1607458
|
@ -225,13 +225,15 @@
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<article class="books">
|
<article class="books">
|
||||||
|
<span class="cover">
|
||||||
<?php
|
<?php
|
||||||
if ($entry->book->hasCover) {
|
if ($entry->book->hasCover) {
|
||||||
?>
|
?>
|
||||||
<span class="cover"><a data-fancybox-group="group" class="fancycover" href="<?php echo $entry->getCover () ?>"><img src="<?php echo $entry->getCoverThumbnail () ?>" alt="<?php echo localize("i18n.coversection") ?>" /></a></span>
|
<a data-fancybox-group="group" class="fancycover" href="<?php echo $entry->getCover () ?>"><img src="<?php echo $entry->getCoverThumbnail () ?>" alt="<?php echo localize("i18n.coversection") ?>" /></a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
</span>
|
||||||
<h2 class="download">
|
<h2 class="download">
|
||||||
<?php
|
<?php
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
Loading…
Reference in a new issue