diff options
| author | Thomas Hackl <hackl@data-quest.de> | 2026-01-07 11:45:07 +0100 |
|---|---|---|
| committer | Thomas Hackl <hackl@data-quest.de> | 2026-01-07 11:45:07 +0100 |
| commit | 6f6f406a5ddb94b44645f563395e5e183e5f7ec9 (patch) | |
| tree | 0a08344b0ede1c77552eb7e98358db64e9f6a28a /resources/vue | |
| parent | 54576710b2ae4baa991b0d95177002293e7f9d6d (diff) | |
Resolve "Neues Forum hat noch keine Tour"
Closes #6014
Merge request studip/studip!4632
Diffstat (limited to 'resources/vue')
| -rw-r--r-- | resources/vue/components/forum/EmptyForum.vue | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/resources/vue/components/forum/EmptyForum.vue b/resources/vue/components/forum/EmptyForum.vue index 8a2c40c..a63a52c 100644 --- a/resources/vue/components/forum/EmptyForum.vue +++ b/resources/vue/components/forum/EmptyForum.vue @@ -4,6 +4,10 @@ import {$gettext} from "../../../assets/javascripts/lib/gettext"; import StudipIcon from "@/vue/components/StudipIcon.vue"; const emptyForumIllustration = `${STUDIP.ASSETS_URL}images/forum/forum-keyvisual-positive.svg`; + +const openTour = (id) => { + STUDIP.Tour.init(id, 1); +} </script> <template> @@ -24,7 +28,9 @@ const emptyForumIllustration = `${STUDIP.ASSETS_URL}images/forum/forum-keyvisual </p> <div class="buttons-container"> - <button type="button" class="button button--icon-label"> + <button type="button" + class="button button--icon-label" + @click.prevent="openTour('ea68d2f9d7b81d01d2d3ea38a105c734')"> <StudipIcon shape="lightbulb" :size="20" aria-hidden="true" /> {{ $gettext('Tour ansehen') }} </button> |
