Commit a10f917a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix dashbord sidebar filter

parent 3805797c
......@@ -15,7 +15,7 @@ class Dashboard
uiBox.find(".dash-list li").show()
else
uiBox.find(".dash-list li").each (index) ->
name = $(this).find(".well-title").text()
name = $(this).find(".filter-title").text()
if name.toLowerCase().search(terms.toLowerCase()) == -1
$(this).hide()
......
......@@ -10,7 +10,7 @@
- groups.each do |group|
%li.group-row
= link_to group_path(id: group.path), class: dom_class(group) do
%span.group-name
%span.group-name.filter-title
= truncate(group.name, length: 35)
%span.arrow
%i.icon-angle-right
......
......@@ -15,7 +15,7 @@
- if project.namespace
= project.namespace.human_name
\/
%span.project-name
%span.project-name.filter-title
= truncate(project.name, length: 25)
%span.arrow
%i.icon-angle-right
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment