back button on all tour modals

This commit is contained in:
Hugh Rundle 2022-07-03 16:12:17 +10:00
parent 39efb90870
commit 04324c00b4
3 changed files with 21 additions and 0 deletions

View file

@ -139,6 +139,13 @@
on: "left",
},
buttons: [
{
action() {
return this.back();
},
secondary: true,
text: "{% trans 'Back' %}",
},
{
action() {
return this.complete();

View file

@ -107,6 +107,13 @@
{% trans ' button to continue the tour.' %}",
title: "{% trans 'Save your group' %}",
buttons: [
{
action() {
return this.back();
},
secondary: true,
text: "{% trans 'Back' %}",
},
{
action() {
return this.complete();

View file

@ -127,6 +127,13 @@ tour.addSteps([
on: "right",
},
buttons: [
{
action() {
return this.back();
},
secondary: true,
text: "{% trans 'Back' %}",
},
{
action() {
return this.complete();