From 04290921fc2c968420a7dce449df19c4b3a6c90d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Wed, 7 Jun 2023 16:40:51 +0200 Subject: [PATCH] Move event location name to an own component --- .../LocationTeaser/LocationTeaser.vue | 52 +++++++++++++++++++ webapp/components/PostTeaser/PostTeaser.vue | 18 +++---- webapp/pages/post/_id/_slug/index.vue | 23 ++++---- 3 files changed, 71 insertions(+), 22 deletions(-) create mode 100644 webapp/components/LocationTeaser/LocationTeaser.vue diff --git a/webapp/components/LocationTeaser/LocationTeaser.vue b/webapp/components/LocationTeaser/LocationTeaser.vue new file mode 100644 index 000000000..ede0457ab --- /dev/null +++ b/webapp/components/LocationTeaser/LocationTeaser.vue @@ -0,0 +1,52 @@ + + + + + diff --git a/webapp/components/PostTeaser/PostTeaser.vue b/webapp/components/PostTeaser/PostTeaser.vue index 615b18054..c76ebfc7b 100644 --- a/webapp/components/PostTeaser/PostTeaser.vue +++ b/webapp/components/PostTeaser/PostTeaser.vue @@ -32,15 +32,13 @@ > - - - - {{ $t('post.viewEvent.eventIsOnline') }} - - - {{ post.eventLocationName }} - - + - - - {{ post.eventVenue }} - - - {{ post.eventLocationName }} - - - {{ $t('post.viewEvent.eventIsOnline') }} - - +