Show URL if there is no description and title
This commit is contained in:
parent
b296fd9eab
commit
0624191142
1 changed files with 7 additions and 5 deletions
|
@ -202,12 +202,14 @@ class Wish
|
|||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($this->description) { ?>
|
||||
<div class="description">
|
||||
<div class="description">
|
||||
<?php if ($this->description) { ?>
|
||||
<?= $this->description ?>
|
||||
</div>
|
||||
<div class="description-fade"></div>
|
||||
<?php } ?>
|
||||
<?php } elseif ($this->url && !$this->title) { ?>
|
||||
<a href="<?= $this->url ?>" target="_blank"><?= $this->url ?></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="description-fade"></div>
|
||||
</div>
|
||||
|
||||
<div class="extra content buttons">
|
||||
|
|
Loading…
Reference in a new issue