gitlab-org--gitlab-foss/app/views/dashboard
Yorick Peterse f77fda6437
Improve checking if projects would be returned
In various places we check if the same relation would return projects.
This is done using "any?" which will run a COUNT query with any
LIMIT/OFFSET values still applied.

To work around all this we introduce 2 helper methods that take care of
doing the right thing. This leads to the produced queries being simpler
and fewer queries being executed.
2017-08-07 12:38:27 +02:00
..
groups New navigation breadcrumbs 2017-06-30 16:52:11 +00:00
milestones moved more action buttons 2017-07-03 11:58:06 +01:00
projects Improve checking if projects would be returned 2017-08-07 12:38:27 +02:00
snippets New navigation breadcrumbs 2017-06-30 16:52:11 +00:00
todos improvements to breadcrumb titles, links & nesting 2017-07-06 17:24:03 +01:00
_activities.html.haml Consistently display last push event widget 2017-05-25 15:21:30 -05:00
_activity_head.html.haml Add active_when helper 2017-02-15 14:29:48 +05:00
_groups_head.html.haml moved more action buttons 2017-07-03 11:58:06 +01:00
_projects_head.html.haml moved more action buttons 2017-07-03 11:58:06 +01:00
_sidebar.html.haml Remove group rendering from dashboard page 2015-03-10 13:17:16 -07:00
_snippets_head.html.haml more action button movements 2017-07-03 12:51:35 +01:00
activity.html.haml moved declaration of breadcrumb_title into page_title method 2017-07-12 09:04:22 +01:00
issues.atom.builder Refactor atom builder by using xml.atom layout 2017-06-12 19:21:13 +02:00
issues.html.haml moved declaration of breadcrumb_title into page_title method 2017-07-12 09:04:22 +01:00
merge_requests.html.haml moved declaration of breadcrumb_title into page_title method 2017-07-12 09:04:22 +01:00