Widget for own participications
This commit is contained in:
@@ -13,6 +13,9 @@ onMounted(async () => {
|
||||
Object.assign(myParticipations, data);
|
||||
});
|
||||
|
||||
function navigateTo(url) {
|
||||
window.location.href = url;
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -47,7 +50,7 @@ onMounted(async () => {
|
||||
</p>
|
||||
<p v-if="myParticipations.myParticipations.length === 0">Du bist aktuelle für keine Veranstaltung angemeldet.</p>
|
||||
<p>
|
||||
<input type="button" value="Für weitere Veranstaltung anmelden" class="button" />
|
||||
<input type="button" value="Jetzt anmelden" class="button" @click="navigateTo('/event/available-events')" />
|
||||
</p>
|
||||
|
||||
|
||||
@@ -63,6 +66,6 @@ onMounted(async () => {
|
||||
}
|
||||
|
||||
.bg-yellow {
|
||||
background-color: #f3f353;
|
||||
background-color: #e4e44c;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user