Add view button to product
This commit is contained in:
parent
d62ac31d32
commit
4d22238cee
1 changed files with 3 additions and 0 deletions
|
@ -132,6 +132,9 @@ class Wishlist
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="extra content">
|
<div class="extra content">
|
||||||
|
<?php if ($info->url) { ?>
|
||||||
|
<a class="ui tiny button" href="<?= $info->url ?>" target="_blank">View</a>
|
||||||
|
<?php } ?>
|
||||||
<?php if ($this->data['user'] === $_SESSION['user']['id']) { ?>
|
<?php if ($this->data['user'] === $_SESSION['user']['id']) { ?>
|
||||||
<a class="ui tiny red button delete">Delete</a>
|
<a class="ui tiny red button delete">Delete</a>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
|
|
Loading…
Reference in a new issue