- add links to event display

- add fold expansion for advanced event options
- index update
This commit is contained in:
ssmucny 2023-06-17 15:31:10 -04:00
parent 825a4be1cc
commit 04aad405f7
3 changed files with 9 additions and 4 deletions

4
locales/index.d.ts vendored
View File

@ -1108,9 +1108,13 @@ export interface Locale {
"ticketsUrl": string; "ticketsUrl": string;
"isFree": string; "isFree": string;
"price": string; "price": string;
"availability": string;
"from": string;
"until": string;
"availabilityStart": string; "availabilityStart": string;
"availabilityEnd": string; "availabilityEnd": string;
"keywords": string; "keywords": string;
"performers": string;
}; };
"_accountMigration": { "_accountMigration": {
"moveFrom": string; "moveFrom": string;

View File

@ -25,7 +25,7 @@
</template> </template>
<template v-if="note.event!.metadata.url"> <template v-if="note.event!.metadata.url">
<dt :class="$style.key">{{ i18n.ts._event.url }}</dt> <dt :class="$style.key">{{ i18n.ts._event.url }}</dt>
<dd :class="$style.value">{{ note.event!.metadata.url }}</dd> <dd :class="$style.value"><a :href="note.event!.metadata.url">{{ note.event!.metadata.url }}</a></dd>
</template> </template>
<template v-if="note.event!.metadata.organizer"> <template v-if="note.event!.metadata.organizer">
<dt :class="$style.key">{{ i18n.ts._event.organizer }}</dt> <dt :class="$style.key">{{ i18n.ts._event.organizer }}</dt>
@ -49,7 +49,7 @@
</template> </template>
<template v-if="note.event!.metadata.offers?.url"> <template v-if="note.event!.metadata.offers?.url">
<dt :class="$style.key">{{ i18n.ts._event.ticketsUrl }}</dt> <dt :class="$style.key">{{ i18n.ts._event.ticketsUrl }}</dt>
<dd :class="$style.value">{{ note.event!.metadata.offers.url }}</dd> <dd :class="$style.value"><a :href="note.event!.metadata.offers.url">{{ note.event!.metadata.offers.url }}</a></dd>
</template> </template>
<template v-if="note.event!.metadata.isAccessibleForFree"> <template v-if="note.event!.metadata.isAccessibleForFree">
<dt :class="$style.key">{{ i18n.ts._event.isFree }}</dt> <dt :class="$style.key">{{ i18n.ts._event.isFree }}</dt>

View File

@ -37,7 +37,8 @@
</section> </section>
</div> </div>
<br/> <br/>
<div> <MkFoldableSection>
<template #header>{{ i18n.ts.advanced }}</template>
<section> <section>
<MkInput v-model="doorTime" small type="time" class="input"> <MkInput v-model="doorTime" small type="time" class="input">
<template #label>{{ i18n.ts._event.doorTime }}</template> <template #label>{{ i18n.ts._event.doorTime }}</template>
@ -103,7 +104,7 @@
<template #label>{{ i18n.ts._event.keywords }}</template> <template #label>{{ i18n.ts._event.keywords }}</template>
</MkInput> </MkInput>
</section> </section>
</div> </MkFoldableSection>
</section> </section>
</div> </div>
</template> </template>