提交 1dafd670 编写于 作者: P Phil Hughes

fixed dashboard projects nav item being active

it is now only shown as active when on the dashbord/projects controller

[ci skip]
上级 4c01a68f
......@@ -131,11 +131,14 @@ header.navbar-gitlab-new {
background-color: $gl-gray-light;
}
.search-input,
.search-input::placeholder {
.search-input {
color: $gray-normal;
}
.search-input::placeholder {
color: $gray-dark;
}
.location-badge {
color: $gray-normal;
background-color: #2d2d2d;
......
%ul.list-unstyled.navbar-sub-nav
= nav_link(path: ['root#index', 'projects#trending', 'projects#starred', 'dashboard/projects#index'], html_options: {class: "#{project_tab_class} home"}) do
= nav_link(path: ['root#index', 'projects#trending', 'projects#starred', 'dashboard/projects#index'], html_options: {class: "home"}) do
= link_to dashboard_projects_path, title: 'Projects', class: 'dashboard-shortcuts-projects' do
Projects
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册