blob: 4367d201190a46088c2bfdf98c8b342735ec896b (
plain)
1
2
3
4
5
6
7
8
9
10
|
- is_your_projects_path = current_page?(dashboard_projects_path) || current_page?(root_path)
= gl_tabs_nav({ class: 'scrolling-tabs nav-links gl-display-flex gl-flex-grow-1 gl-w-full nav gl-tabs-nav' }) do
= gl_tab_link_to dashboard_projects_path, { item_active: is_your_projects_path, class: 'shortcuts-activity', data: { placement: 'right' } } do
= s_("ProjectList|Yours")
= gl_tab_counter_badge(limited_counter_with_delimiter(@all_user_projects))
= gl_tab_link_to starred_dashboard_projects_path, { data: { placement: 'right' } } do
= s_("ProjectList|Starred")
= gl_tab_counter_badge(limited_counter_with_delimiter(@all_starred_projects))
= render_if_exists "dashboard/removed_projects_tab"
|