Show URL if there is no description and title

This commit is contained in:
grandeljay 2022-06-15 21:58:27 +02:00
parent b296fd9eab
commit 0624191142

View file

@ -202,12 +202,14 @@ class Wish
</div> </div>
<?php } ?> <?php } ?>
<?php if ($this->description) { ?> <div class="description">
<div class="description"> <?php if ($this->description) { ?>
<?= $this->description ?> <?= $this->description ?>
</div> <?php } elseif ($this->url && !$this->title) { ?>
<div class="description-fade"></div> <a href="<?= $this->url ?>" target="_blank"><?= $this->url ?></a>
<?php } ?> <?php } ?>
</div>
<div class="description-fade"></div>
</div> </div>
<div class="extra content buttons"> <div class="extra content buttons">