From aebf22f639073ab4d5c0ff4970d60bf24e8879f0 Mon Sep 17 00:00:00 2001 From: Ezekiel Kigbo Date: Fri, 12 Apr 2019 14:14:28 +0200 Subject: Ensure we dont apply changes to admin/projects The changes introduced for the project filter bar should not apply to the admin projects screen. Remove "Owned by me", "Owned by anyone" options Update the dropdown option Last created -> Created date. Introduces fixes for spacing and minor styling across breakpoints. --- app/views/explore/projects/_filter.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/explore') diff --git a/app/views/explore/projects/_filter.html.haml b/app/views/explore/projects/_filter.html.haml index 5e321956f6e..bd21ba6cc71 100644 --- a/app/views/explore/projects/_filter.html.haml +++ b/app/views/explore/projects/_filter.html.haml @@ -1,6 +1,6 @@ - has_label = local_assigns[:has_label] ? local_assigns[:has_label] : false - if current_user - .dropdown + .dropdown.js-project-filter-dropdown-wrap %button.dropdown-menu-toggle{ href: '#', "data-toggle" => "dropdown", 'data-display' => 'static' } - if !has_label = icon('globe', class: 'mt-1') -- cgit v1.2.3