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,25 +97,29 @@
], ],
}, },
{ {
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' %}",
buttons: [ attachTo: {
{ element: "#navbar-dropdown",
action() { on: "left-end",
return this.back();
},
secondary: true,
text: "{% trans 'Back' %}",
},
{
action() {
disableGuidedTour(csrf_token);
return this.complete();
},
text: "{% trans 'Finish tour' %}",
},
],
}, },
scrollTo: true,
buttons: [
{
action() {
return this.back();
},
secondary: true,
text: "{% trans 'Back' %}",
},
{
action() {
return this.next();
},
text: "{% trans 'Ok' %}",
},
],
}
]) ])
tour.start() tour.start()