gitlab-org--gitlab-foss/app/views/dashboard/projects/_nav.html.haml
2017-09-22 12:26:23 +01:00

6 lines
356 B
Text

.top-area
%ul.nav-links
= nav_link(html_options: { class: ("active" unless params[:personal].present?) }) do
= link_to s_('DashboardProjects|All'), dashboard_projects_path
= nav_link(html_options: { class: ("active" if params[:personal].present?) }) do
= link_to s_('DashboardProjects|Personal'), filter_projects_path(personal: true)