update user groups tour

- use strong instead of code
- clean up templates
- use notification styling for actions
- update wording
This commit is contained in:
Hugh Rundle 2022-07-09 17:39:22 +10:00
parent 07a882692c
commit 6df09eb5d7

View file

@ -28,16 +28,13 @@
], ],
}, },
{ {
text: "{% trans 'Let\'s click the button to create a new group!' %}\ text: "{% trans 'Let\'s create a new group!<p class=\'notification is-warning is-light mt-3\'>Click this button, then <strong>Next</strong> to continue the tour</p>' %}",
<br><br>\
{% trans 'Then click ' %}\
<code>{% trans 'Next' %}</code> \
{% trans 'to continue the tour.' %}",
title: "{% trans 'Create group' %}", title: "{% trans 'Create group' %}",
attachTo: { attachTo: {
element: "#tour-create-group", element: "#tour-create-group",
on: "left-start", on: "left-start",
}, },
highlightClass: 'tour-element-highlight',
buttons: [ buttons: [
{ {
action() { action() {
@ -78,8 +75,7 @@
], ],
}, },
{ {
text: "{% trans 'Groups have privacy settings just like Lists, except that group privacy cannot be ' %}\ text: "{% trans 'Groups have privacy settings just like Lists, except that group privacy cannot be <strong>Followers</strong>.' %}",
<code>{% trans 'Followers' %}</code>.",
title: "{% trans 'Group visibility' %}", title: "{% trans 'Group visibility' %}",
attachTo: { attachTo: {
element: "#tour-privacy", element: "#tour-privacy",
@ -102,9 +98,7 @@
], ],
}, },
{ {
text: "{% trans 'Once you\'re happy with how your group is set up, click the ' %}\ text: "{% trans 'Once you\'re happy with how everything is set up, click the <strong>Save</strong> button to create your new group.<p class=\'notification is-warning is-light mt-3\'>Create and save a group to continue the tour.</p>' %}",
<code>{% trans 'Save' %}</code>\
{% trans ' button to continue the tour.' %}",
title: "{% trans 'Save your group' %}", title: "{% trans 'Save your group' %}",
buttons: [ buttons: [
{ {