Commit a10f917ae835a7192cf20f72f3a603cfa296fed3
1 parent
3805797c
Exists in
master
and in
4 other branches
Fix dashbord sidebar filter
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
app/assets/javascripts/dashboard.js.coffee
@@ -15,7 +15,7 @@ class Dashboard | @@ -15,7 +15,7 @@ class Dashboard | ||
15 | uiBox.find(".dash-list li").show() | 15 | uiBox.find(".dash-list li").show() |
16 | else | 16 | else |
17 | uiBox.find(".dash-list li").each (index) -> | 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 | if name.toLowerCase().search(terms.toLowerCase()) == -1 | 20 | if name.toLowerCase().search(terms.toLowerCase()) == -1 |
21 | $(this).hide() | 21 | $(this).hide() |
app/views/dashboard/_groups.html.haml
@@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
10 | - groups.each do |group| | 10 | - groups.each do |group| |
11 | %li.group-row | 11 | %li.group-row |
12 | = link_to group_path(id: group.path), class: dom_class(group) do | 12 | = link_to group_path(id: group.path), class: dom_class(group) do |
13 | - %span.group-name | 13 | + %span.group-name.filter-title |
14 | = truncate(group.name, length: 35) | 14 | = truncate(group.name, length: 35) |
15 | %span.arrow | 15 | %span.arrow |
16 | %i.icon-angle-right | 16 | %i.icon-angle-right |
app/views/dashboard/_projects.html.haml
@@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
15 | - if project.namespace | 15 | - if project.namespace |
16 | = project.namespace.human_name | 16 | = project.namespace.human_name |
17 | \/ | 17 | \/ |
18 | - %span.project-name | 18 | + %span.project-name.filter-title |
19 | = truncate(project.name, length: 25) | 19 | = truncate(project.name, length: 25) |
20 | %span.arrow | 20 | %span.arrow |
21 | %i.icon-angle-right | 21 | %i.icon-angle-right |