Fix order of tour
The tour now shows users how to add a book first, then bookshelves, lists, and finally groups.
This commit is contained in:
parent
06b4a55979
commit
a8940b8e12
8 changed files with 180 additions and 105 deletions
|
@ -123,7 +123,7 @@
|
|||
],
|
||||
},
|
||||
{
|
||||
text: "{% trans 'If you still cannot find your book, you can add a record manually.' %}",
|
||||
text: "{% trans 'If you still can\'t find your book, you can add a record manually.' %}",
|
||||
title: "{% trans 'Add a record manally' %}",
|
||||
attachTo: {
|
||||
element: "#manually-add-book",
|
||||
|
@ -147,5 +147,25 @@
|
|||
}])
|
||||
}
|
||||
|
||||
tour.addStep({
|
||||
text: "{% trans 'Import, manually add, or view an existing book to continue the tour.' %}",
|
||||
title: "{% trans 'Continue the tour' %}",
|
||||
buttons: [
|
||||
{
|
||||
action() {
|
||||
return this.back();
|
||||
},
|
||||
secondary: true,
|
||||
text: "{% trans 'Back' %}",
|
||||
},
|
||||
{
|
||||
action() {
|
||||
return this.next();
|
||||
},
|
||||
text: "{% trans 'Ok' %}",
|
||||
},
|
||||
],
|
||||
})
|
||||
|
||||
tour.start()
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue