event_removed_ok msg

This commit is contained in:
lesion
2022-04-29 17:56:28 +02:00
parent 0d40763852
commit 1b2955cd1b
2 changed files with 3 additions and 0 deletions

View File

@@ -84,6 +84,8 @@ export default {
if (!ret) { return } if (!ret) { return }
await this.$axios.delete(`/event/${this.event.id}`) await this.$axios.delete(`/event/${this.event.id}`)
this.$emit('destroy', this.event.id) this.$emit('destroy', this.event.id)
this.$root.$message('admin.event_remove_ok')
} }
} }
} }

View File

@@ -174,6 +174,7 @@
"delete_user_confirm": "Are you sure you want to remove {user}?", "delete_user_confirm": "Are you sure you want to remove {user}?",
"user_remove_ok": "User removed", "user_remove_ok": "User removed",
"user_create_ok": "User created", "user_create_ok": "User created",
"event_remove_ok": "Event removed",
"allow_registration_description": "Allow open registrations?", "allow_registration_description": "Allow open registrations?",
"allow_anon_event": "Allow anonymous events (has to be confirmed)?", "allow_anon_event": "Allow anonymous events (has to be confirmed)?",
"allow_recurrent_event": "Allow recurring events", "allow_recurrent_event": "Allow recurring events",