add Enable Class System button to User -> Stats ("Stats and Achievements") page when user has opted out

This commit is contained in:
Alice Harris
2014-09-02 14:56:14 +10:00
parent 72c6fd720a
commit 679a120053
+2
View File
@@ -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')