transfer tour from group to DM
This commit is contained in:
parent
2f2ab5c24a
commit
495bac2b50
1 changed files with 22 additions and 18 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue