From 2ca46ce74680ef9e8e5c9613c94eb2cbb8b254cc Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Fri, 23 May 2014 08:41:43 +0200 Subject: [PATCH] Fixed text in alert when deleting an account --- src/Views/user/user-delete.phtml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Views/user/user-delete.phtml b/src/Views/user/user-delete.phtml index f359db80..1f4fc1f1 100644 --- a/src/Views/user/user-delete.phtml +++ b/src/Views/user/user-delete.phtml @@ -4,8 +4,12 @@ ['identifier' => $this->context->transport->user->getName()]) ?>" method="post" class="user-delete simple-action confirmable" - autocomplete="off" - data-confirm-text="Are you sure you want to delete your account?"> + 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 this account?" + + autocomplete="off"> getId() == $this->context->transport->user->getId())