Refactor
This commit is contained in:
parent
20387fda1c
commit
ee756802b0
1 changed files with 12 additions and 6 deletions
|
@ -24,12 +24,18 @@ $page->navigation();
|
||||||
<div class="ui container">
|
<div class="ui container">
|
||||||
<h1 class="ui header"><?= $page->title ?></h1>
|
<h1 class="ui header"><?= $page->title ?></h1>
|
||||||
|
|
||||||
<?php if ($user->isLoggedIn() && $user->id !== intval($wishlist->user)) { ?>
|
<div class="ui stackable grid">
|
||||||
<button class="ui white small basic labeled icon button save">
|
<div class="column">
|
||||||
<i class="heart icon"></i>
|
|
||||||
<span><?= __('Save list') ?></span>
|
<?php if ($user->isLoggedIn() && $user->id !== intval($wishlist->user)) { ?>
|
||||||
</button>
|
<button class="ui white small basic labeled icon button save">
|
||||||
<?php } ?>
|
<i class="heart icon"></i>
|
||||||
|
<span><?= __('Save list') ?></span>
|
||||||
|
</button>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue