1
0
Fork 0

transfer tour from group to DM

This commit is contained in:
Hugh Rundle 2022-07-09 19:38:44 +10:00
parent 2f2ab5c24a
commit 495bac2b50

View file

@ -97,8 +97,13 @@
], ],
}, },
{ {
text: "{% trans 'Thanks for taking the tour. There\'s lots more to explore, but now you are familiar with the basics needed to enjoy Bookwyrm. Happy reading!' %}", text: "{% trans 'You\'re nearly done.<p class=\'notification is-warning is-light mt-3\'>Select <strong>Direct Messages</strong> from the drop down menu to finish the tour.</p>' %}",
title: "{% trans 'You\'re ready!' %}", title: "{% trans 'Profile and settings menu' %}",
attachTo: {
element: "#navbar-dropdown",
on: "left-end",
},
scrollTo: true,
buttons: [ buttons: [
{ {
action() { action() {
@ -109,13 +114,12 @@
}, },
{ {
action() { action() {
disableGuidedTour(csrf_token); return this.next();
return this.complete();
}, },
text: "{% trans 'Finish tour' %}", text: "{% trans 'Ok' %}",
}, },
], ],
}, }
]) ])
tour.start() tour.start()