mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 03:30:25 +00:00
#2245 don't show class-tour button unless the class system is enabled
This commit is contained in:
parent
f539108b39
commit
3b3b0e6915
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ script(type='text/ng-template', id='partials/options.settings.settings.html')
|
|||
button.btn(ng-click='modals.restore = true', popover-trigger='mouseenter', popover-placement='right', popover='Manually change values like Health, Level, and Gold.') Fix Character Values
|
||||
div(ng-if='user.preferences.disableClasses==true')
|
||||
button.btn(ng-click='user.ops.changeClass({})', popover-trigger='mouseenter', popover-placement='right', popover="You opted out of the class system initially. Would you like now to opt-in?") Enable Class System
|
||||
div(ng-if='!user.preferences.disableClasses')
|
||||
div(ng-if='!user.preferences.disableClasses && user.flags.classSelected')
|
||||
button.btn(ng-click='showClassesTour()', popover-trigger='mouseenter', popover-placement='right', popover="Show the tour for using the class system.") Show Classes Tour
|
||||
|
||||
//- Why is ng-if='user.auth.local' validating for users *without* user.auth.local (facebook users)? adding .username here for extra
|
||||
|
|
|
|||
Loading…
Reference in a new issue