diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a66d55db4..1cbf2120c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -163,14 +163,14 @@ pages: - mkdir public - mix docs - mv doc public/backend -# #- yarn run --cwd "js" styleguide:build -# #- mv js/styleguide public/frontend -# rules: -# - if: '$CI_COMMIT_BRANCH == "master"' -# artifacts: -# expire_in: 1 hour -# paths: -# - public + # #- yarn run --cwd "js" styleguide:build + # #- mv js/styleguide public/frontend + rules: + - if: '$CI_COMMIT_BRANCH == "master"' + artifacts: + expire_in: 1 hour + paths: + - public .docker: &docker stage: docker 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") }} + +