- 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;
"isFree": string;
"price": string;
"availability": string;
"from": string;
"until": string;
"availabilityStart": string;
"availabilityEnd": string;
"keywords": string;
"performers": string;
};
"_accountMigration": {
"moveFrom": string;

View File

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

View File

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