Skip to content

Commit

Permalink
WIP #133 (globe activity + contextual help)
Browse files Browse the repository at this point in the history
  • Loading branch information
claustres committed Jul 28, 2020
1 parent 6ad089c commit 30970b5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ module.exports = {
},
app_logout: {
links: [
{ id: 'contextual-help', icon: 'las la-question-circle', label: 'sideNav.CONTEXTUAL_HELP', route: { query: { tour: 'home' } } },
{ }, // separator
{ id: 'logout', label: 'sideNav.LOGOUT', icon: 'las la-sign-out-alt', route: { name: 'logout' } }
]
Expand Down
1 change: 1 addition & 0 deletions src/i18n/app_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"MAP": "2D View",
"GLOBE": "3D View",
"SETTINGS": "Settings",
"CONTEXTUAL_HELP": "$t(CONTEXTUAL_HELP)",
"LOGOUT": "Logout"
},
"Index": {
Expand Down
1 change: 1 addition & 0 deletions src/i18n/app_fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"MAP": "Vue 2D",
"GLOBE": "Vue 3D",
"SETTINGS": "Paramètres",
"CONTEXTUAL_HELP": "$t(CONTEXTUAL_HELP)",
"LOGOUT": "Se déconnecter"
},
"Index": {
Expand Down
10 changes: 5 additions & 5 deletions src/tours/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ module.exports = [{
params: {
placement: 'right',
clickOnLink: '#opener-left',
tour: 'map/side-nav'
tour: 'side-nav'
}
}, {
target: '#opener-top',
title: 'tours.home.NAVIGATION_BAR_LABEL',
link: 'tours.home.NAVIGATION_BAR_LINK_LABEL',
params: {
placement: 'bottom',
tour: 'map/navigation-bar'
tour: 'navigation-bar'
}
}, {
target: '#opener-right',
Expand All @@ -22,7 +22,7 @@ module.exports = [{
params: {
placement: 'left',
clickOnLink: '#opener-right',
tour: 'map/catalog-panel'
tour: 'catalog-panel'
}
}, {
target: '#opener-bottom',
Expand All @@ -31,7 +31,7 @@ module.exports = [{
params: {
placement: 'top',
clickOnLink: '#opener-bottom',
tour: 'map/timeline'
tour: 'timeline'
}
}, {
target: '#fab',
Expand All @@ -40,6 +40,6 @@ module.exports = [{
params: {
placement: 'top',
clickOnLink: 'div.q-fab__icon-holder',
tour: 'map/fab'
tour: 'fab'
}
}]

0 comments on commit 30970b5

Please sign in to comment.