debian-mirror-gitlab/app/views/dashboard/projects/_nav.html.haml

7 lines
387 B
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
.nav-block
2018-11-08 19:23:39 +05:30
%ul.nav-links.mobile-separator.nav.nav-tabs
2018-03-17 18:26:18 +05:30
= 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)