Add view button to product

This commit is contained in:
Jay Trees 2022-01-21 08:20:11 +01:00
parent d62ac31d32
commit 4d22238cee

View file

@ -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 { ?>