mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
do not display spaces tab help if space module is disabled
This commit is contained in:
parent
f8f1dde14a
commit
42e2c8bafa
@ -658,14 +658,16 @@ Application.Controllers.controller('EditPricingController', ['$scope', '$state',
|
||||
content: _t('app.admin.tour.pricing.machines.content'),
|
||||
placement: 'bottom'
|
||||
});
|
||||
uitour.createStep({
|
||||
selector: '.plans-pricing .spaces-tab',
|
||||
stepId: 'spaces',
|
||||
order: 4,
|
||||
title: _t('app.admin.tour.pricing.spaces.title'),
|
||||
content: _t('app.admin.tour.pricing.spaces.content'),
|
||||
placement: 'bottom'
|
||||
});
|
||||
if (!Fablab.withoutSpaces) {
|
||||
uitour.createStep({
|
||||
selector: '.plans-pricing .spaces-tab',
|
||||
stepId: 'spaces',
|
||||
order: 4,
|
||||
title: _t('app.admin.tour.pricing.spaces.title'),
|
||||
content: _t('app.admin.tour.pricing.spaces.content'),
|
||||
placement: 'bottom'
|
||||
});
|
||||
}
|
||||
uitour.createStep({
|
||||
selector: '.plans-pricing .credits-tab',
|
||||
stepId: 'credits',
|
||||
|
Loading…
x
Reference in New Issue
Block a user