style: phrasing in delete user prompt

This commit is contained in:
Bobby 2021-06-06 18:31:17 +07:00
parent 31cc01bd45
commit 8d79154e6c
No known key found for this signature in database
GPG Key ID: 941839794CBF5A09

View File

@ -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