diff --git a/BookingSystem/templates/admin_settings.html b/BookingSystem/templates/admin_settings.html index 3e04aa2..47913df 100644 --- a/BookingSystem/templates/admin_settings.html +++ b/BookingSystem/templates/admin_settings.html @@ -52,7 +52,7 @@

En kategori per linje

url: "{{url_for('api.email_report')}}", type: 'POST', success: function (result) { - customAlert('Sukksess!', 'Rapporten ble sendt ut.', 'success') + customAlert('Suksess!', 'Rapporten ble sendt ut.', 'success') }, error: function (result) { customAlert('Info', result.responseText, 'info') diff --git a/BookingSystem/templates/booking.html b/BookingSystem/templates/booking.html index 8beb204..b274742 100644 --- a/BookingSystem/templates/booking.html +++ b/BookingSystem/templates/booking.html @@ -63,7 +63,7 @@

Dersom du ikke finner eleven i listen, må eleven logge inn på nettstedet o type: 'POST', success: function (response, status) { if (status === 'success') { - cueAlert('Sukksess!', response, 'success') + cueAlert('Suksess!', response, 'success') window.location.href = "{{ url_for('app.index') }}"; } else { iziToast.error({ diff --git a/BookingSystem/templates/forms/categories.html b/BookingSystem/templates/forms/categories.html index 7c338f3..c37229f 100644 --- a/BookingSystem/templates/forms/categories.html +++ b/BookingSystem/templates/forms/categories.html @@ -1,5 +1,5 @@
+ onclick="cueToast('Suksess!', 'Kategoriene ble oppdatert.', 'success')">
diff --git a/BookingSystem/templates/forms/emails.html b/BookingSystem/templates/forms/emails.html index 5048639..dc8daa7 100644 --- a/BookingSystem/templates/forms/emails.html +++ b/BookingSystem/templates/forms/emails.html @@ -1,5 +1,5 @@
+ onclick="cueToast('Suksess!', 'E-postene ble oppdatert.', 'success')"> diff --git a/BookingSystem/templates/forms/groups.html b/BookingSystem/templates/forms/groups.html index e6fa398..111f1b9 100644 --- a/BookingSystem/templates/forms/groups.html +++ b/BookingSystem/templates/forms/groups.html @@ -1,5 +1,5 @@ + onclick="cueToast('Suksess!', 'Klasselisten ble oppdatert.', 'success')"> diff --git a/BookingSystem/templates/forms/return.html b/BookingSystem/templates/forms/return.html index 949c63d..cbc913b 100644 --- a/BookingSystem/templates/forms/return.html +++ b/BookingSystem/templates/forms/return.html @@ -18,7 +18,7 @@ type: 'POST', success: function (result) { iziToast.success({ - title: 'Sukksess!', + title: 'Suksess!', message: `${$('#id').val()} ble levert`, }) // Remove the row from the table diff --git a/BookingSystem/templates/inventar_edit.html b/BookingSystem/templates/inventar_edit.html index f2e0647..b5a4161 100644 --- a/BookingSystem/templates/inventar_edit.html +++ b/BookingSystem/templates/inventar_edit.html @@ -49,7 +49,7 @@

Redigerer {{ item.id }} ({{ item.name }})

type: 'POST', url: '{{ url_for("api.delete_item", item_id=item.id) }}', success: function (response) { - cueToast('Sukksess!', `${$('#id').val()} ble slettet.`, 'success'); + cueToast('Suksess!', `${$('#id').val()} ble slettet.`, 'success'); window.location.href = '{{ url_for("app.inventar") }}'; }, error: function (response) {