diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-01 12:55:45 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-01 12:55:45 -0500 |
commit | 8c0aba9458a25266bb52bbc2101a83ed05967722 (patch) | |
tree | 670472f5597ccc858ec7486d09658f6b13e045b3 /app/views/dashboard | |
parent | f3134c2a7045accd70f6877874c43c3ead134d35 (diff) | |
download | gitlab-ce-8c0aba9458a25266bb52bbc2101a83ed05967722.tar.gz |
Get pagination options form the view
Diffstat (limited to 'app/views/dashboard')
-rw-r--r-- | app/views/dashboard/todos/index.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/dashboard/todos/index.html.haml b/app/views/dashboard/todos/index.html.haml index f9ec3a89158..49ab8aad1d5 100644 --- a/app/views/dashboard/todos/index.html.haml +++ b/app/views/dashboard/todos/index.html.haml @@ -45,6 +45,7 @@ .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.js-todos-list - project = group[0] |