From f5afdf243563804e85a5d8d73b1b5338ca135400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Wed, 17 Apr 2019 01:04:47 +0200 Subject: [PATCH] Merge Notification with NotificationPostCard cc @mattwr18 Please don't see this as a revert of your work. Your structure of the `notification-post-card` component was helpful and showed the redundancy with `hc-post-card`. I reused a lot of the code, but because I merged both components it now *looks* as if I authored all the code. --- .../Notification/NotificationPostCard.vue | 81 ------------------- .../notifications/Notification/index.vue | 52 +++++++++--- .../notifications/Notification/spec.js | 5 ++ .../notifications/NotificationList/spec.js | 2 +- webapp/locales/de.json | 5 ++ webapp/locales/en.json | 5 ++ 6 files changed, 57 insertions(+), 93 deletions(-) delete mode 100644 webapp/components/notifications/Notification/NotificationPostCard.vue diff --git a/webapp/components/notifications/Notification/NotificationPostCard.vue b/webapp/components/notifications/Notification/NotificationPostCard.vue deleted file mode 100644 index 108882cbb..000000000 --- a/webapp/components/notifications/Notification/NotificationPostCard.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/webapp/components/notifications/Notification/index.vue b/webapp/components/notifications/Notification/index.vue index ecf696d75..55b889876 100644 --- a/webapp/components/notifications/Notification/index.vue +++ b/webapp/components/notifications/Notification/index.vue @@ -1,21 +1,48 @@