show all event datas in post

This commit is contained in:
ogerly 2023-04-25 21:04:58 +02:00
parent 051c7acd4f
commit fbdb6ca074
2 changed files with 14 additions and 2 deletions

View File

@ -26,8 +26,10 @@ export default (i18n) => {
Post(id: $id) {
postType
eventStart
eventEnd
eventVenue
eventLocationName
eventIsOnline
...post
...postCounts
...tagsCategoriesAndPinned

View File

@ -63,14 +63,24 @@
<ds-flex-item>{{ post.eventStart }}</ds-flex-item>
</ds-flex>
<ds-space margin-bottom="small" />
<ds-flex>
<ds-flex-item width="200px">End:</ds-flex-item>
<ds-flex-item>{{ post.eventEnd }}</ds-flex-item>
</ds-flex>
<ds-space margin-bottom="small" />
<ds-flex>
<ds-flex-item width="200px">Veranstaltungsort:</ds-flex-item>
<ds-flex-item class="text-bold">{{ post.eventLocationName }}</ds-flex-item>
<ds-flex-item class="text-bold">{{ post.eventVenue }}</ds-flex-item>
</ds-flex>
<ds-space margin-bottom="small" />
<ds-flex>
<ds-flex-item width="200px">Stadt:</ds-flex-item>
<ds-flex-item>{{ post.eventVenue }}</ds-flex-item>
<ds-flex-item>{{ post.eventLocationName }}</ds-flex-item>
</ds-flex>
<ds-space margin-bottom="small" />
<ds-flex>
<ds-flex-item width="200px">Online Event:</ds-flex-item>
<ds-flex-item>{{ post.eventIsOnline }}</ds-flex-item>
</ds-flex>
</ds-space>