From 5ad0cf26551baff8f08af8562a8d45e6ec14d71a Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 23 Jan 2020 12:08:38 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- .../explore/projects/page_out_of_bounds.html.haml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/views/explore/projects/page_out_of_bounds.html.haml (limited to 'app/views/explore') diff --git a/app/views/explore/projects/page_out_of_bounds.html.haml b/app/views/explore/projects/page_out_of_bounds.html.haml new file mode 100644 index 00000000000..57114dd0752 --- /dev/null +++ b/app/views/explore/projects/page_out_of_bounds.html.haml @@ -0,0 +1,21 @@ +- @hide_top_links = true +- page_title _("Projects") +- header_title _("Projects"), dashboard_projects_path + += render_dashboard_gold_trial(current_user) + +- if current_user + = render 'dashboard/projects_head', project_tab_filter: :explore +- else + = render 'explore/head' + += render 'explore/projects/nav' unless Feature.enabled?(:project_list_filter_bar) && current_user + +.nothing-here-block + .svg-content + = image_tag 'illustrations/profile-page/personal-project.svg', size: '75' + .text-content + %h5= _("Maximum page reached") + %p= _("Sorry, you have exceeded the maximum browsable page number. Please use the API to explore further.") + + = link_to _("Back to page %{number}") % { number: @max_page_number }, request.params.merge(page: @max_page_number), class: 'btn btn-inverted' -- cgit v1.2.3