Swal.fire({ title: 'Erfolgreich!', text: "XXX", confirmButtonText: 'Zur Anmeldungsübersicht ➔', icon: 'success', showDenyButton: true, denyButtonText: "Zum Turnierplan ➔", showCancelButton: true, cancelButtonText: "Zur Turnierübersicht ➔", allowOutsideClick: false }).then((result) => { if (result.isConfirmed) { let redirect = "../anmeldungen/?turnier_id=" + turnier_id; window.location.href = redirect; } else if(result.isDenied) { let user_id = resp_turnierplan_erstellen_json.user_id; let passphrase = turnier_id * user_id; let redirect = "../turnierplan_turniermodus"; window.location.href = redirect; } else if(result.dismiss === 'cancel'){ let redirect = "../meine-turniere/"; window.location.href = redirect; } });
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter