diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-01-10 21:53:51 -0200 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-01-27 20:20:18 -0200 |
commit | 441501e4bf57e663d8259695845d75b5b6d50684 (patch) | |
tree | eb91433c30debdce13ad8a731d47f3673f81f227 /app/views/dashboard/todos | |
parent | aeb9db6753cfdd56f82d80c0e2c01f63d65b705d (diff) | |
download | gitlab-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.haml | 8 |
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" |