Revert "Merge branch 'external-events' into 'main'"

This reverts merge request !1223
This commit is contained in:
Thomas Citharel
2022-05-04 07:02:16 +00:00
parent d85f708c37
commit 26cf892758
12 changed files with 6 additions and 135 deletions

View File

@@ -1,27 +0,0 @@
<template>
<div class="participation-button">
<a
class="button is-large is-primary"
type="button"
target="_blank"
:href="
event.externalParticipationUrl
? encodeURI(`${event.externalParticipationUrl}?uuid=${event.uuid}`)
: '#'
"
:disabled="!event.externalParticipationUrl"
>{{ $t("Go to booking") }}&nbsp;
<b-icon style="margin-left: 0" icon="open-in-new"
/></a>
</div>
</template>
<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
import { IEvent } from "../../types/event.model";
@Component
export default class ExternalParticipationButton extends Vue {
@Prop({ required: true }) event!: IEvent;
}
</script>