Commit a10f917a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix dashbord sidebar filter

parent 3805797c
...@@ -15,7 +15,7 @@ class Dashboard ...@@ -15,7 +15,7 @@ class Dashboard
uiBox.find(".dash-list li").show() uiBox.find(".dash-list li").show()
else else
uiBox.find(".dash-list li").each (index) -> 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 if name.toLowerCase().search(terms.toLowerCase()) == -1
$(this).hide() $(this).hide()
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
- groups.each do |group| - groups.each do |group|
%li.group-row %li.group-row
= link_to group_path(id: group.path), class: dom_class(group) do = 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) = truncate(group.name, length: 35)
%span.arrow %span.arrow
%i.icon-angle-right %i.icon-angle-right
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
- if project.namespace - if project.namespace
= project.namespace.human_name = project.namespace.human_name
\/ \/
%span.project-name %span.project-name.filter-title
= truncate(project.name, length: 25) = truncate(project.name, length: 25)
%span.arrow %span.arrow
%i.icon-angle-right %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