mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-20 10:44:13 +00:00
Merge pull request #3965 from Alys/enableClassSystem
add Enable Class System button to User -> Stats when user has opted out
This commit is contained in:
commit
a36b2e17ba
1 changed files with 2 additions and 0 deletions
|
|
@ -194,6 +194,8 @@ mixin profileStats
|
|||
|
||||
|
||||
div(ng-class='user.flags.classSelected && !user.preferences.disableClasses ? "col-md-4" : "col-md-6"')
|
||||
button.btn.btn-default(ng-if='user.preferences.disableClasses', ng-click='user.ops.changeClass({})', popover-trigger='mouseenter', popover-placement='right', popover=env.t('enableClassPop'))= env.t('enableClass')
|
||||
hr(ng-if='user.preferences.disableClasses')
|
||||
include ../shared/profiles/achievements
|
||||
|
||||
script(id='partials/options.profile.stats.html', type='text/ng-template')
|
||||
|
|
|
|||
Loading…
Reference in a new issue