Add button for disabled registrations
This commit is contained in:
parent
a4a2a2b3fd
commit
a6ca0d2a6c
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue