diff options
author | Tom Willemse | 2013-07-24 23:46:16 +0200 |
---|---|---|
committer | Tom Willemse | 2013-07-24 23:46:16 +0200 |
commit | ee2c58ffae301f4040aeff15131dd60ae98d7463 (patch) | |
tree | 07525c9b09608711c5bea7dee87418d6db0a2d45 /scrumli.lisp | |
parent | 108726efd48989c484dafcbd87b181911d0c6e8a (diff) | |
download | scrumli-ee2c58ffae301f4040aeff15131dd60ae98d7463.tar.gz scrumli-ee2c58ffae301f4040aeff15131dd60ae98d7463.zip |
Change manner of assignment
Instead of having an input in which an assignee's email address can be
entered, show the gravatar of the assignee, or a question mark if no
assignee has been specified, and upon clicking it show a modal dialog
where this information can be changed.
Diffstat (limited to 'scrumli.lisp')
-rw-r--r-- | scrumli.lisp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scrumli.lisp b/scrumli.lisp index 362f4a5..df6b442 100644 --- a/scrumli.lisp +++ b/scrumli.lisp @@ -221,3 +221,12 @@ (set-assignee 'story id assignee) (encode-json-to-string '((status . "ok")))) 403)) + +(define-route scrumli-task-set-assignee ("tasks/assignee" + :content-type "json" + :method :post) + (if (logged-in-p) + (with-post-parameters ("id" "assignee") + (set-assignee 'task id assignee) + (encode-json-to-string '((status . "ok")))) + 403)) |