diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb index 4b9bfcf843b7526838913ffef8bc27c37d357354..f6620b25818660626d37ebb4544df3c5a2005aa7 100644 --- a/app/controllers/dashboard_controller.rb +++ b/app/controllers/dashboard_controller.rb @@ -35,8 +35,6 @@ class DashboardController < ApplicationController current_user.authorized_projects end.sorted_by_activity - @projects = @projects.search(params[:search]) if params[:search].present? - @labels = current_user.authorized_projects.tags_on(:labels) @projects = @projects.tagged_with(params[:label]) if params[:label].present? diff --git a/app/views/dashboard/_filter.html.haml b/app/views/dashboard/_filter.html.haml index df4447cd205737b21ef19487a27b4d66391ac6a5..d3208e6aad6f38a0118457bc5fa76f3f06aa0a22 100644 --- a/app/views/dashboard/_filter.html.haml +++ b/app/views/dashboard/_filter.html.haml @@ -1,11 +1,5 @@ = form_tag dashboard_filter_path(entity), method: 'get' do - %fieldset.dashboard-search-filter - = search_field_tag "search", params[:search], { id: 'filter_search', placeholder: 'Search', class: 'search-text-input' } - = button_tag type: 'submit', class: 'btn' do - %i.icon-search - %fieldset - %legend Status: %ul.nav.nav-pills.nav-stacked %li{class: ("active" if !params[:status])} = link_to dashboard_filter_path(entity, status: nil) do diff --git a/app/views/dashboard/issues.html.haml b/app/views/dashboard/issues.html.haml index 356e0847ae755f498d58a778c70e92ab4c393c93..ad104657fea831463f42fdeaa87bdfc330bc9af0 100644 --- a/app/views/dashboard/issues.html.haml +++ b/app/views/dashboard/issues.html.haml @@ -1,9 +1,11 @@ %h3.page_title Issues - %small (assigned to you) - %small.pull-right #{@issues.total_count} issues + %span.light + – + Assigned to you + %span.pull-right #{@issues.total_count} issues -%hr +%br .row .span3 diff --git a/app/views/dashboard/merge_requests.html.haml b/app/views/dashboard/merge_requests.html.haml index a311729dd4d3386c3afa4f17e26729a98f3292c4..de1c457c3183c2666d34c66c44dad84c850a7070 100644 --- a/app/views/dashboard/merge_requests.html.haml +++ b/app/views/dashboard/merge_requests.html.haml @@ -1,9 +1,11 @@ %h3.page_title Merge Requests - %small (authored by or assigned to you) - %small.pull-right #{@merge_requests.total_count} merge requests + %span.light + – + Authored by or assigned to you + %span.pull-right #{@merge_requests.total_count} merge requests -%hr +%br .row .span3 = render 'filter', entity: 'merge_request'