diff options
author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-03-30 17:17:03 +0300 |
---|---|---|
committer | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-03-30 20:28:57 +0300 |
commit | 51031a68f76b23b8936bf674d9bc65491b207ebe (patch) | |
tree | 348d53f7bc452e40dbe4b15b87374f2d9d992afa /app/views/dashboard | |
parent | 673bb9ef1e9ca7c6a2fdd16bb75289181e076b08 (diff) |
Make entire todo row clickable
Diffstat (limited to 'app/views/dashboard')
-rw-r--r-- | app/views/dashboard/todos/_todo.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/dashboard/todos/_todo.html.haml b/app/views/dashboard/todos/_todo.html.haml index e3a4d64df01..25d2b64e381 100644 --- a/app/views/dashboard/todos/_todo.html.haml +++ b/app/views/dashboard/todos/_todo.html.haml @@ -1,4 +1,4 @@ -%li{class: "todo todo-#{todo.done? ? 'done' : 'pending'}", id: dom_id(todo) } +%li{class: "todo todo-#{todo.done? ? 'done' : 'pending'}", id: dom_id(todo), data:{url: todo_target_path(todo)} } .todo-item.todo-block = image_tag avatar_icon(todo.author_email, 40), class: 'avatar s40', alt:'' |