2021-12-11 22:18:48 +05:30
|
|
|
- is_your_projects_path = current_page?(dashboard_projects_path) || current_page?(root_path)
|
|
|
|
|
2022-07-23 23:45:48 +05:30
|
|
|
= gl_tabs_nav({ class: 'scrolling-tabs nav-links gl-display-flex gl-flex-grow-1 gl-w-full nav gl-tabs-nav' }) do
|
2021-12-11 22:18:48 +05:30
|
|
|
= gl_tab_link_to dashboard_projects_path, { item_active: is_your_projects_path, class: 'shortcuts-activity', data: { placement: 'right' } } do
|
2023-03-04 22:38:38 +05:30
|
|
|
= s_("ProjectList|Yours")
|
2023-06-20 00:43:36 +05:30
|
|
|
= gl_tab_counter_badge(limited_counter_with_delimiter(@all_user_projects))
|
2021-12-11 22:18:48 +05:30
|
|
|
= gl_tab_link_to starred_dashboard_projects_path, { data: { placement: 'right' } } do
|
2023-03-04 22:38:38 +05:30
|
|
|
= s_("ProjectList|Starred")
|
2023-06-20 00:43:36 +05:30
|
|
|
= gl_tab_counter_badge(limited_counter_with_delimiter(@all_starred_projects))
|
2022-04-04 11:22:00 +05:30
|
|
|
= render_if_exists "dashboard/removed_projects_tab"
|