debian-mirror-gitlab/app/views/admin/projects/index.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
1 KiB
Text
Raw Normal View History

2019-12-21 20:55:43 +05:30
- page_title _('Projects')
2023-03-04 22:38:38 +05:30
- add_page_specific_style 'page_bundles/search'
2016-08-24 12:49:21 +05:30
- params[:visibility_level] ||= []
2023-04-23 21:23:45 +05:30
.top-area.gl-flex-direction-column-reverse
2022-07-23 23:45:48 +05:30
.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)
= gl_tabs_nav({ class: 'scrolling-tabs nav-links gl-display-flex gl-flex-grow-1 gl-w-full nav gl-tabs-nav nav gl-tabs-nav' }) do
= gl_tab_link_to _('All'), admin_projects_path(visibility_level: nil), { item_active: params[:visibility_level].empty? }
= gl_tab_link_to _('Private'), admin_projects_path(visibility_level: Gitlab::VisibilityLevel::PRIVATE)
= 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)
2019-12-21 20:55:43 +05:30
2023-04-23 21:23:45 +05:30
.nav-controls
= render 'shared/projects/search_form', autofocus: true, admin_view: true
2015-09-11 14:41:01 +05:30
2019-12-04 20:38:33 +05:30
= render 'projects'