summaryrefslogtreecommitdiff
path: root/app/views/admin/projects/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/projects/index.html.haml')
-rw-r--r--app/views/admin/projects/index.html.haml18
1 files changed, 3 insertions, 15 deletions
diff --git a/app/views/admin/projects/index.html.haml b/app/views/admin/projects/index.html.haml
index 18cd3400c60..e942a513166 100644
--- a/app/views/admin/projects/index.html.haml
+++ b/app/views/admin/projects/index.html.haml
@@ -2,7 +2,7 @@
- add_page_specific_style 'page_bundles/search'
- params[:visibility_level] ||= []
-.top-area
+.top-area.gl-flex-direction-column-reverse
.scrolling-tabs-container.inner-page-scroll-tabs.gl-flex-grow-1.gl-min-w-0.gl-w-full
.fade-left= sprite_icon('chevron-lg-left', size: 12)
.fade-right= sprite_icon('chevron-lg-right', size: 12)
@@ -12,19 +12,7 @@
= gl_tab_link_to _('Internal'), admin_projects_path(visibility_level: Gitlab::VisibilityLevel::INTERNAL)
= gl_tab_link_to _('Public'), admin_projects_path(visibility_level: Gitlab::VisibilityLevel::PUBLIC)
-
- .nav-controls.gl-pl-2
- .search-holder
- = render 'shared/projects/search_form', autofocus: true, admin_view: true
- - current_namespace = _('Namespace')
- - if params[:namespace_id].present?
- - namespace = Namespace.find(params[:namespace_id])
- - current_namespace = "#{namespace.kind}: #{namespace.full_path}"
- %button.dropdown-menu-toggle.btn.btn-default.btn-md.gl-button.js-namespace-select{ data: { show_any: 'true', field_name: 'namespace_id', placeholder: current_namespace, update_location: 'true' }, type: 'button' }
- %span.gl-dropdown-button-text
- = current_namespace
-
- = link_to new_project_path, class: 'gl-button btn btn-confirm' do
- = _('New Project')
+ .nav-controls
+ = render 'shared/projects/search_form', autofocus: true, admin_view: true
= render 'projects'