diff --git a/packages/frontend/src/components/MkEvent.vue b/packages/frontend/src/components/MkEvent.vue index ca20bbc353..895ec7d37d 100644 --- a/packages/frontend/src/components/MkEvent.vue +++ b/packages/frontend/src/components/MkEvent.vue @@ -53,7 +53,7 @@ {{ i18n.ts._event.isFree }} - {{ "Yes" }} + {{ i18n.ts.yes }} {{ i18n.ts._event.price }} diff --git a/packages/frontend/src/components/MkEventEditor.vue b/packages/frontend/src/components/MkEventEditor.vue index af0a87db3f..55173499e6 100644 --- a/packages/frontend/src/components/MkEventEditor.vue +++ b/packages/frontend/src/components/MkEventEditor.vue @@ -36,9 +36,12 @@ - - - {{ i18n.ts.advanced }} + + + {{ i18n.ts.advanced }} + + + {{ i18n.ts._event.doorTime }} @@ -104,7 +107,7 @@ {{ i18n.ts._event.keywords }} - + @@ -136,6 +139,7 @@ const endDate = ref(''); const endTime = ref(''); const location = ref(props.modelValue?.metadata.location ?? null); const url = ref(props.modelValue?.metadata.url ?? null); +const showAdvanced = ref(false); const doorTime = ref(props.modelValue?.metadata.doorTime ?? null); const organizer = ref(props.modelValue?.metadata.organizer?.name ?? null); const organizerLink = ref(props.modelValue?.metadata.organizer?.sameAs ?? null); @@ -178,6 +182,7 @@ function get(): misskey.entities.Note['event'] { } : undefined, inLanguage: language.value ?? undefined, typicalAgeRange: ageRange.value ?? undefined, + isAccessibleForFree: isFree, offers: ticketsUrl.value || price.value ? { price: price.value ?? undefined, priceCurrency: undefined, @@ -233,11 +238,6 @@ watch([title, startDate, startTime, endDate, endTime, location, url, doorTime, o } } - >.add { - margin: 8px 0; - z-index: 1; - } - >section { margin: 16px 0 0 0;