mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-31 07:11:33 +00:00
style: phrasing in delete user prompt
This commit is contained in:
parent
31cc01bd45
commit
8d79154e6c
@ -2794,7 +2794,7 @@ page.deleteUser = id => {
|
||||
const content = document.createElement('div')
|
||||
content.innerHTML = `
|
||||
<p>You will be deleting a user named <b>${page.cache[id].username}</b>.<p>
|
||||
<p>Their files will remain, unless you choose otherwise.</p>
|
||||
<p>Their uploads will still remain, unless you choose otherwise.</p>
|
||||
`
|
||||
|
||||
swal({
|
||||
@ -2805,11 +2805,11 @@ page.deleteUser = id => {
|
||||
buttons: {
|
||||
cancel: true,
|
||||
confirm: {
|
||||
text: 'Yes, delete it!',
|
||||
text: 'Yes, ONLY the user!',
|
||||
closeModal: false
|
||||
},
|
||||
purge: {
|
||||
text: 'Yes, and the uploads too!',
|
||||
text: 'Yes, AND their uploads too!',
|
||||
value: 'purge',
|
||||
className: 'swal-button--danger',
|
||||
closeModal: false
|
||||
|
Loading…
Reference in New Issue
Block a user