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 } ?>
|
||||
</div>
|
||||
<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']) { ?>
|
||||
<a class="ui tiny red button delete">Delete</a>
|
||||
<?php } else { ?>
|
||||
|
|
Loading…
Reference in a new issue