summaryrefslogtreecommitdiff
path: root/app/views/dashboard/todos
diff options
context:
space:
mode:
authorOswaldo Ferreira <oswaldo@gitlab.com>2017-01-10 21:53:51 -0200
committerOswaldo Ferreira <oswaldo@gitlab.com>2017-01-27 20:20:18 -0200
commit441501e4bf57e663d8259695845d75b5b6d50684 (patch)
treeeb91433c30debdce13ad8a731d47f3673f81f227 /app/views/dashboard/todos
parentaeb9db6753cfdd56f82d80c0e2c01f63d65b705d (diff)
downloadgitlab-ce-441501e4bf57e663d8259695845d75b5b6d50684.tar.gz
Present TODO's list without grouping by project
Diffstat (limited to 'app/views/dashboard/todos')
-rw-r--r--app/views/dashboard/todos/index.html.haml8
1 files changed, 2 insertions, 6 deletions
diff --git a/app/views/dashboard/todos/index.html.haml b/app/views/dashboard/todos/index.html.haml
index f4efcfb27b2..0b471f142d0 100644
--- a/app/views/dashboard/todos/index.html.haml
+++ b/app/views/dashboard/todos/index.html.haml
@@ -70,15 +70,11 @@
.prepend-top-default
- if @todos.any?
.js-todos-options{ data: {per_page: @todos.limit_value, current_page: @todos.current_page, total_pages: @todos.total_pages} }
- - @todos.group_by(&:project).each do |group|
.panel.panel-default.panel-small
- - project = group[0]
- .panel-heading
- = link_to project.name_with_namespace, namespace_project_path(project.namespace, project)
-
%ul.content-list.todos-list
- = render group[1]
+ = render @todos
= paginate @todos, theme: "gitlab"
+
- elsif current_user.todos.any?
.todos-all-done
= render "shared/empty_states/todos_all_done.svg"