summaryrefslogtreecommitdiff
path: root/app/views/dashboard
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-03-30 09:17:03 -0500
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-03-30 12:28:57 -0500
commit51031a68f76b23b8936bf674d9bc65491b207ebe (patch)
tree348d53f7bc452e40dbe4b15b87374f2d9d992afa /app/views/dashboard
parent673bb9ef1e9ca7c6a2fdd16bb75289181e076b08 (diff)
downloadgitlab-ce-51031a68f76b23b8936bf674d9bc65491b207ebe.tar.gz
Make entire todo row clickable
Diffstat (limited to 'app/views/dashboard')
-rw-r--r--app/views/dashboard/todos/_todo.html.haml2
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:''