Add video delete button

Co-authored-by: vovocka <22993408+veselcraft@users.noreply.github.com>
This commit is contained in:
Jill Stingray 2020-06-18 14:21:10 +03:00
parent e458024b6a
commit 026b9895b5

View file

@ -49,11 +49,14 @@
</div> </div>
<br/> <br/>
<div n:if="isset($thisUser) && $thisUser->getId() === $user->getId()"> <div n:if="isset($thisUser) && $thisUser->getId() === $user->getId()">
<h4>{_"actions"}</h4> <h4>{_actions}</h4>
<a href="/video{$video->getPrettyId()}/edit" class="profile_link" style="display:block;width:96%;"> <a href="/video{$video->getPrettyId()}/edit" class="profile_link" style="display:block;width:96%;">
{_"edit"} {_edit}
</a> </a>
</div> <a href="/video{$video->getPrettyId()}/remove" class="profile_link" style="display:block;width:96%;">
{_delete}
</a>
<div>
</div> </div>
</div> </div>
{/block} {/block}