From 0c4a6ca5c72f2397b222b85159abc3a7ec6ca0ba Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Fri, 17 Mar 2023 11:42:23 +0100 Subject: [PATCH] add group description to notifications --- webapp/components/NotificationsTable/NotificationsTable.vue | 5 ++++- webapp/locales/de.json | 2 +- webapp/locales/en.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/webapp/components/NotificationsTable/NotificationsTable.vue b/webapp/components/NotificationsTable/NotificationsTable.vue index c59cc5a67..41d593a23 100644 --- a/webapp/components/NotificationsTable/NotificationsTable.vue +++ b/webapp/components/NotificationsTable/NotificationsTable.vue @@ -84,7 +84,10 @@ - {{ notification.from.contentExcerpt | removeHtml }} + {{ + notification.from.contentExcerpt || + notification.from.descriptionExcerpt | removeHtml + }} diff --git a/webapp/locales/de.json b/webapp/locales/de.json index d82d3bcde..b72070ee2 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -636,7 +636,7 @@ }, "notifications": { "comment": "Kommentar", - "content": "Inhalt", + "content": "Inhalt oder Beschreibung", "empty": "Bedaure, Du hast momentan keinerlei Benachrichtigungen.", "filterLabel": { "all": "Alle", diff --git a/webapp/locales/en.json b/webapp/locales/en.json index 6ddfe7cd0..9e6ac227f 100644 --- a/webapp/locales/en.json +++ b/webapp/locales/en.json @@ -636,7 +636,7 @@ }, "notifications": { "comment": "Comment", - "content": "Content", + "content": "Content or Description", "empty": "Sorry, you don't have any notifications at the moment.", "filterLabel": { "all": "All",