Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sondregronas committed Aug 7, 2023
1 parent 472659a commit 08a5c13
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion BookingSystem/templates/admin_settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h3>En kategori per linje</h3>
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')
Expand Down
2 changes: 1 addition & 1 deletion BookingSystem/templates/booking.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h3>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({
Expand Down
2 changes: 1 addition & 1 deletion BookingSystem/templates/forms/categories.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<form action="{{ url_for('api.update_categories') }}" method="post"
onclick="cueToast('Sukksess!', 'Kategoriene ble oppdatert.', 'success')">
onclick="cueToast('Suksess!', 'Kategoriene ble oppdatert.', 'success')">
<textarea name="categories" id="categories" cols="30" rows="10">{{ '\n'.join(all_categories) }}</textarea>
<input type="submit" value="Oppdater">
</form>
2 changes: 1 addition & 1 deletion BookingSystem/templates/forms/emails.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<form action="{{ url_for('api.update_emails') }}" method="post"
onclick="cueToast('Sukksess!', 'E-postene ble oppdatert.', 'success')">
onclick="cueToast('Suksess!', 'E-postene ble oppdatert.', 'success')">
<textarea name="emails" id="emails" cols="30" rows="10"
placeholder="Eksempel: [email protected]">{{ '\n'.join(all_emails) }}</textarea>
<input type="submit" value="Oppdater">
Expand Down
2 changes: 1 addition & 1 deletion BookingSystem/templates/forms/groups.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<form action="{{ url_for('api.update_groups') }}" method="post"
onclick="cueToast('Sukksess!', 'Klasselisten ble oppdatert.', 'success')">
onclick="cueToast('Suksess!', 'Klasselisten ble oppdatert.', 'success')">
<textarea name="groups" id="groups" cols="30" rows="10"
placeholder="Eksempel: 1IMA (Ola Nordmann)">{{ '\n'.join(all_groups) }}</textarea>
<input type="submit" value="Oppdater">
Expand Down
2 changes: 1 addition & 1 deletion BookingSystem/templates/forms/return.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
type: 'POST',
success: function (result) {
iziToast.success({
title: 'Sukksess!',
title: 'Suksess!',
message: `<i>${$('#id').val()}</i> ble levert`,
})
// Remove the row from the table
Expand Down
2 changes: 1 addition & 1 deletion BookingSystem/templates/inventar_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h3>Redigerer {{ item.id }} ({{ item.name }})</h3>
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) {
Expand Down

0 comments on commit 08a5c13

Please sign in to comment.