From 76a7ab5bcce2d486dab3f447f0659ba870d1ff7e Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Tue, 28 Jan 2014 08:57:29 -0600 Subject: [PATCH] feat(attributes): Add backfill button in flat and classbased allocation modes Partial implementation of a "distribute points now" button for backfilling accrued Attribute points. Works with flat and classbased allocation so far; taskbased will require much fancier handling. --- views/options/profile.jade | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/views/options/profile.jade b/views/options/profile.jade index 5c3d80ee3b..a3cd75f21d 100644 --- a/views/options/profile.jade +++ b/views/options/profile.jade @@ -155,6 +155,11 @@ script(id='partials/options.profile.stats.html', type='text/ng-template') =env.t('taskallocation')   i.icon-question-sign(popover-trigger='mouseenter', popover-placement='right', popover=env.t('taskallocationpopover')) + div(ng-show='user.preferences.automaticAllocation && !(user.preferences.allocationMode === "taskbased") && (user.stats.points > 0)') + a.btn.btn-primary.btn-mini(ng-click='user.ops.allocateNow(user.stats)', popover-trigger='mouseenter', popover-placement='right', popover=env.t('distributepointspopover')) + i.icon-download.icon-white +   + =env.t('distributepoints') tr td= env.t('allocatestr') + ' {{user.stats.str}}' td