mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-04-26 20:14:43 +00:00
back button on all tour modals
This commit is contained in:
parent
39efb90870
commit
04324c00b4
3 changed files with 21 additions and 0 deletions
|
@ -139,6 +139,13 @@
|
||||||
on: "left",
|
on: "left",
|
||||||
},
|
},
|
||||||
buttons: [
|
buttons: [
|
||||||
|
{
|
||||||
|
action() {
|
||||||
|
return this.back();
|
||||||
|
},
|
||||||
|
secondary: true,
|
||||||
|
text: "{% trans 'Back' %}",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
action() {
|
action() {
|
||||||
return this.complete();
|
return this.complete();
|
||||||
|
|
|
@ -107,6 +107,13 @@
|
||||||
{% trans ' button to continue the tour.' %}",
|
{% trans ' button to continue the tour.' %}",
|
||||||
title: "{% trans 'Save your group' %}",
|
title: "{% trans 'Save your group' %}",
|
||||||
buttons: [
|
buttons: [
|
||||||
|
{
|
||||||
|
action() {
|
||||||
|
return this.back();
|
||||||
|
},
|
||||||
|
secondary: true,
|
||||||
|
text: "{% trans 'Back' %}",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
action() {
|
action() {
|
||||||
return this.complete();
|
return this.complete();
|
||||||
|
|
|
@ -127,6 +127,13 @@ tour.addSteps([
|
||||||
on: "right",
|
on: "right",
|
||||||
},
|
},
|
||||||
buttons: [
|
buttons: [
|
||||||
|
{
|
||||||
|
action() {
|
||||||
|
return this.back();
|
||||||
|
},
|
||||||
|
secondary: true,
|
||||||
|
text: "{% trans 'Back' %}",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
action() {
|
action() {
|
||||||
return this.complete();
|
return this.complete();
|
||||||
|
|
Loading…
Reference in a new issue