From a6f096d730288baa9877b892ba8fdf23fe022d2d Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Sun, 5 Jan 2014 15:07:34 -0700 Subject: [PATCH] #2186 hide task attributes if auto-allocate not enabled --- views/shared/tasks/task.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/shared/tasks/task.jade b/views/shared/tasks/task.jade index c630dba75c..e11802b43c 100644 --- a/views/shared/tasks/task.jade +++ b/views/shared/tasks/task.jade @@ -190,7 +190,7 @@ li(bindonce='list', bo-id='"task-"+task.id', ng-repeat='task in obj[list.type+"s legend.option-title.pull-left Restore Streak input.option-content(type='number', ng-model='task.streak') - legend.option-title Attributes + legend.option-title(ng-if='user.preferences.autoAllocate') Attributes .task-controls.tile-group button.task-action-btn.tile(type='button', ng-class='{active: task.attribute=="str"}', ng-click='task.attribute="str"') Physical button.task-action-btn.tile(type='button', ng-class='{active: task.attribute=="int"}', ng-click='task.attribute="int"') Mental