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) { Post(id: $id) {
postType postType
eventStart eventStart
eventEnd
eventVenue eventVenue
eventLocationName eventLocationName
eventIsOnline
...post ...post
...postCounts ...postCounts
...tagsCategoriesAndPinned ...tagsCategoriesAndPinned

View File

@ -63,14 +63,24 @@
<ds-flex-item>{{ post.eventStart }}</ds-flex-item> <ds-flex-item>{{ post.eventStart }}</ds-flex-item>
</ds-flex> </ds-flex>
<ds-space margin-bottom="small" /> <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>
<ds-flex-item width="200px">Veranstaltungsort:</ds-flex-item> <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-flex>
<ds-space margin-bottom="small" /> <ds-space margin-bottom="small" />
<ds-flex> <ds-flex>
<ds-flex-item width="200px">Stadt:</ds-flex-item> <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-flex>
</ds-space> </ds-space>