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>
|
</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">
|
||||||
|
|
Loading…
Reference in a new issue