diff --git a/webapp/components/Category/index.vue b/webapp/components/Category/index.vue index af602d4d0..028d8c4a4 100644 --- a/webapp/components/Category/index.vue +++ b/webapp/components/Category/index.vue @@ -13,7 +13,7 @@ export default { name: 'HcCategory', props: { icon: { type: String, required: true }, - name: { type: String, required: true } + name: { type: String, default: '' } } } diff --git a/webapp/components/PostCard/index.vue b/webapp/components/PostCard/index.vue index acddba5d6..cde334bfd 100644 --- a/webapp/components/PostCard/index.vue +++ b/webapp/components/PostCard/index.vue @@ -1,73 +1,76 @@ + {{ post.title }} - - - - - - - - - {{ post.createdAt | dateTime('dd. MMMM yyyy HH:mm') }} - - - - + + + - + + + + + + {{ post.title }} + + + + + + + + - + + :icon="category.icon" + /> - - - - {{ post.shoutedCount }} - - - - - {{ post.commentsCount }} - - + + + + + + {{ post.shoutedCount }} + + + + + + {{ post.commentsCount }} + + - - + + @@ -75,13 +78,17 @@ + + diff --git a/webapp/components/User/index.vue b/webapp/components/User/index.vue index 240c9dd6d..105a79f8c 100644 --- a/webapp/components/User/index.vue +++ b/webapp/components/User/index.vue @@ -55,7 +55,7 @@ style="display: inline;" > diff --git a/webapp/locales/de.json b/webapp/locales/de.json index 96f87cd9d..e45bd9cba 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -135,6 +135,14 @@ "takeAction": { "name": "Aktiv werden" }, + "delete": { + "submit": "Löschen", + "cancel": "Abbrechen", + "success": "Beitrag erfolgreich gelöscht", + "title": "Beitrag löschen", + "type": "Beitrag", + "message": "Möchtest Du wirklich den Beitrag \"{name}\" löschen?" + }, "comment": { "submit": "Kommentiere", "submitted": "Kommentar Gesendet" diff --git a/webapp/pages/post/_id/_slug/index.vue b/webapp/pages/post/_id/_slug/index.vue index 87538eb6d..ad04f8421 100644 --- a/webapp/pages/post/_id/_slug/index.vue +++ b/webapp/pages/post/_id/_slug/index.vue @@ -70,30 +70,6 @@ :is-shouted="post.shoutedByCurrentUser" :post-id="post.id" /> - - - - - - - - - - - {{ tag.name }} - - - -