Add button for disabled registrations

This commit is contained in:
philipp lang 2024-12-12 16:00:37 +01:00
parent a4a2a2b3fd
commit a6ca0d2a6c
1 changed files with 8 additions and 0 deletions

View File

@ -13,9 +13,17 @@
<a <a
:href="registerUrl.replace(':slug', event.slug)" :href="registerUrl.replace(':slug', event.slug)"
class="px-3 py-2 text-xs font-nunito font-semibold rounded sm:px-4 sm:py-2 sm:text-sm sm:rounded focus:ring-2 focus:ring-offset-1 focus:ring-font focus:outline-none bg-primary text-font" class="px-3 py-2 text-xs font-nunito font-semibold rounded sm:px-4 sm:py-2 sm:text-sm sm:rounded focus:ring-2 focus:ring-offset-1 focus:ring-font focus:outline-none bg-primary text-font"
v-if="event.can_register"
> >
Zur Anmeldung Zur Anmeldung
</a> </a>
<button
type="button"
class="px-3 py-2 text-xs font-nunito font-semibold rounded sm:px-4 sm:py-2 sm:text-sm sm:rounded focus:ring-2 focus:ring-offset-1 focus:ring-font focus:outline-none bg-gray-700 text-font"
v-else
>
Anmeldung zzt nicht möglich
</button>
</div> </div>
</popup> </popup>
</template> </template>