mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
trainings tour: change tab on tracking step
invoices tour: do not show listing steps if invoicing is disabled + typo
This commit is contained in:
parent
7dd5979d64
commit
64e41910ec
@ -576,6 +576,7 @@ Application.Controllers.controller('InvoicesController', ['$scope', '$state', 'I
|
||||
placement: 'bottom',
|
||||
orphan: true
|
||||
});
|
||||
if (!Fablab.withoutInvoices) {
|
||||
uitour.createStep({
|
||||
selector: '.invoices-management .invoices-list',
|
||||
stepId: 'list',
|
||||
@ -610,6 +611,7 @@ Application.Controllers.controller('InvoicesController', ['$scope', '$state', 'I
|
||||
placement: 'left'
|
||||
});
|
||||
}
|
||||
}
|
||||
uitour.createStep({
|
||||
selector: '.invoices-management .invoices-settings',
|
||||
stepId: 'settings',
|
||||
|
@ -395,9 +395,8 @@ Application.Controllers.controller('TrainingsAdminController', ['$scope', '$stat
|
||||
});
|
||||
// on step change, change the active tab if needed
|
||||
uitour.on('stepChanged', function (nextStep) {
|
||||
if (nextStep.stepId === 'filter' || nextStep.stepId === 'machines') {
|
||||
$scope.tabs.active = 0;
|
||||
}
|
||||
if (nextStep.stepId === 'filter' || nextStep.stepId === 'machines') { $scope.tabs.active = 0; }
|
||||
if (nextStep.stepId === 'tracking') { $scope.tabs.active = 1; }
|
||||
});
|
||||
// on tour end, save the status in database
|
||||
uitour.on('ended', function () {
|
||||
|
@ -1154,7 +1154,7 @@ fr:
|
||||
pricing:
|
||||
welcome:
|
||||
title: "Abonnements & Tarifs"
|
||||
content: "Gérez les formules d'abonnement et les prix des différents services que vous proposez à vos membres"
|
||||
content: "Gérez les formules d'abonnement et les prix des différents services que vous proposez à vos membres."
|
||||
new_plan:
|
||||
title: "Nouvelle formule d'abonnement"
|
||||
content: "Créez des formules d'abonnement pour proposer des prix préférentiels sur les machines et les espaces, aux utilisateurs réguliers."
|
||||
|
Loading…
x
Reference in New Issue
Block a user