From 9c14b29a3d2a785f5858435cd047c191e2f59b3a Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Tue, 5 Mar 2013 18:07:22 -0500 Subject: [PATCH] rename priority multiplier to "Difficulty" -> easy, medium, hard (people keep getting confused) and putting it back into "advanced" section --- src/app/tasks.coffee | 3 +++ views/app/tasks.html | 17 ++++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/app/tasks.coffee b/src/app/tasks.coffee index d9d904d8ac..16d17257b7 100644 --- a/src/app/tasks.coffee +++ b/src/app/tasks.coffee @@ -173,6 +173,9 @@ module.exports.app = (appExports, model) -> task = model.at $(el).parents('li')[0] scoring.score(model, task.get('id'), direction) + appExports.tasksToggleAdvanced = (e, el) -> + $(el).next('.advanced').toggle() + appExports.tasksSaveAndClose = -> # When they update their notes, re-establish tooltip & popover $('[rel=tooltip]').tooltip() diff --git a/views/app/tasks.html b/views/app/tasks.html index e0cfd92d45..6aa27af05f 100644 --- a/views/app/tasks.html +++ b/views/app/tasks.html @@ -213,18 +213,21 @@ {/} +
{#unless equal(:task.type, 'reward')} -
-
- - - - + Advanced +
+
+ + + + +
+
{/} -