add Enable Class System button to User -> Stats ("Stats and Achievements") page when user has opted out
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user