Fixed ban and unban confirmation messages
This commit is contained in:
parent
ddbecdb16f
commit
dd498cf18d
1 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ LayoutHelper::addStylesheet('user-view.css');
|
||||||
'class' => 'ban',
|
'class' => 'ban',
|
||||||
'text' => 'Ban user',
|
'text' => 'Ban user',
|
||||||
'simple-action' => \Chibi\UrlHelper::route('user', 'ban', ['name' => $this->context->transport->user->name]),
|
'simple-action' => \Chibi\UrlHelper::route('user', 'ban', ['name' => $this->context->transport->user->name]),
|
||||||
'data-confirm-text' => 'Are you sure?',
|
'data-confirm-text' => 'Are you sure you want to ban this user?',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -128,7 +128,7 @@ LayoutHelper::addStylesheet('user-view.css');
|
||||||
'class' => 'unban',
|
'class' => 'unban',
|
||||||
'text' => 'Unban user',
|
'text' => 'Unban user',
|
||||||
'simple-action' => \Chibi\UrlHelper::route('user', 'unban', ['name' => $this->context->transport->user->name]),
|
'simple-action' => \Chibi\UrlHelper::route('user', 'unban', ['name' => $this->context->transport->user->name]),
|
||||||
'data-confirm-text' => 'Are you sure?',
|
'data-confirm-text' => 'Are you sure you want to unban this user?',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue