Fix dashbord sidebar filter
This commit is contained in:
parent
3805797cae
commit
a10f917ae8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue