diff --git a/js/src/components/Utils/EmptyContent.vue b/js/src/components/Utils/EmptyContent.vue new file mode 100644 index 000000000..0b5af97b6 --- /dev/null +++ b/js/src/components/Utils/EmptyContent.vue @@ -0,0 +1,37 @@ + + + + diff --git a/js/src/views/Discussions/DiscussionsList.vue b/js/src/views/Discussions/DiscussionsList.vue index 3829399e7..e548fe230 100644 --- a/js/src/views/Discussions/DiscussionsList.vue +++ b/js/src/views/Discussions/DiscussionsList.vue @@ -27,7 +27,7 @@ -
+

{{ $t( @@ -39,7 +39,7 @@ tag="router-link" :to="{ name: RouteName.CREATE_DISCUSSION, - params: { preferredUsername: this.preferredUsername }, + params: { preferredUsername }, }" >{{ $t("New discussion") }} @@ -50,18 +50,38 @@ :key="discussion.id" /> + + {{ $t("There's no discussions yet") }} + +

+
+ + {{ $t("Only group members can access discussions") }} + +