Commit a10f917ae835a7192cf20f72f3a603cfa296fed3

Authored by Dmitriy Zaporozhets
1 parent 3805797c

Fix dashbord sidebar filter

app/assets/javascripts/dashboard.js.coffee
... ... @@ -15,7 +15,7 @@ class Dashboard
15 15 uiBox.find(".dash-list li").show()
16 16 else
17 17 uiBox.find(".dash-list li").each (index) ->
18   - name = $(this).find(".well-title").text()
  18 + name = $(this).find(".filter-title").text()
19 19  
20 20 if name.toLowerCase().search(terms.toLowerCase()) == -1
21 21 $(this).hide()
... ...
app/views/dashboard/_groups.html.haml
... ... @@ -10,7 +10,7 @@
10 10 - groups.each do |group|
11 11 %li.group-row
12 12 = link_to group_path(id: group.path), class: dom_class(group) do
13   - %span.group-name
  13 + %span.group-name.filter-title
14 14 = truncate(group.name, length: 35)
15 15 %span.arrow
16 16 %i.icon-angle-right
... ...
app/views/dashboard/_projects.html.haml
... ... @@ -15,7 +15,7 @@
15 15 - if project.namespace
16 16 = project.namespace.human_name
17 17 \/
18   - %span.project-name
  18 + %span.project-name.filter-title
19 19 = truncate(project.name, length: 25)
20 20 %span.arrow
21 21 %i.icon-angle-right
... ...