diff --git a/src/pretix/static/pretixpresale/js/widget/widget.js b/src/pretix/static/pretixpresale/js/widget/widget.js index 170ee0fe61..22f8c218f9 100644 --- a/src/pretix/static/pretixpresale/js/widget/widget.js +++ b/src/pretix/static/pretixpresale/js/widget/widget.js @@ -1332,7 +1332,7 @@ Vue.component('pretix-widget-event-list', { }); Vue.component('pretix-widget-event-calendar-event', { - template: ('' + template: ('' + '' + '{{ event.name }}' + '' @@ -1340,7 +1340,8 @@ Vue.component('pretix-widget-event-calendar-event', { + '
{{ event.availability.text }}
' + '
'), props: { - event: Object + event: Object, + describedby: String, }, computed: { href: function () { @@ -1371,11 +1372,11 @@ Vue.component('pretix-widget-event-calendar-event', { Vue.component('pretix-widget-event-week-cell', { template: ('
' - + '
' + + '
' + '{{ dayhead }}' + '
' + '
' - + '' + + '' + '
' + '
'), props: { @@ -1401,6 +1402,9 @@ Vue.component('pretix-widget-event-week-cell', { } }, computed: { + id: function () { + return this.day ? this.$root.html_id + '-' + this.day.date : ''; + }, dayhead: function () { if (!this.day) { return;