Fixed text in alert when deleting an account

This commit is contained in:
Marcin Kurczewski 2014-05-23 08:41:43 +02:00
parent ed02d10026
commit 2ca46ce746

View file

@ -4,8 +4,12 @@
['identifier' => $this->context->transport->user->getName()]) ?>" ['identifier' => $this->context->transport->user->getName()]) ?>"
method="post" method="post"
class="user-delete simple-action confirmable" class="user-delete simple-action confirmable"
autocomplete="off" <?php if (Auth::getCurrentUser()->getId() == $this->context->transport->user->getId()): ?>
data-confirm-text="Are you sure you want to delete your account?"> data-confirm-text="Are you sure you want to delete your account?"
<?php else: ?>
data-confirm-text="Are you sure you want to delete this account?"
<?php endif ?>
autocomplete="off">
<?php <?php
if (Auth::getCurrentUser()->getId() == $this->context->transport->user->getId()) if (Auth::getCurrentUser()->getId() == $this->context->transport->user->getId())