From ddf3bde07685c65cdb4c1a55a1fd6e80db565ac5 Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Thu, 19 Dec 2019 11:34:20 +0100 Subject: [PATCH] Add clickable link to my activities --- .../src/components/profile/ActivityEntry.vue | 64 ++++++++++++++++ .../components/profile/ContentBookmark.vue | 11 --- .../src/components/profile/ModuleActivity.vue | 73 ++++++++----------- 3 files changed, 95 insertions(+), 53 deletions(-) create mode 100644 client/src/components/profile/ActivityEntry.vue diff --git a/client/src/components/profile/ActivityEntry.vue b/client/src/components/profile/ActivityEntry.vue new file mode 100644 index 00000000..cbf27894 --- /dev/null +++ b/client/src/components/profile/ActivityEntry.vue @@ -0,0 +1,64 @@ + + + + + diff --git a/client/src/components/profile/ContentBookmark.vue b/client/src/components/profile/ContentBookmark.vue index 701fa71e..bfefc191 100644 --- a/client/src/components/profile/ContentBookmark.vue +++ b/client/src/components/profile/ContentBookmark.vue @@ -1,6 +1,5 @@ @@ -53,13 +40,15 @@ import {mapActions} from 'vuex' import ContentBookmark from '@/components/profile/ContentBookmark'; + import ActivityEntry from '@/components/profile/ActivityEntry'; import SCROLL_TO_MUTATION from '@/graphql/gql/local/mutations/scrollTo.gql'; export default { props: ['module'], components: { - ContentBookmark + ContentBookmark, + ActivityEntry }, computed: { empty() {