diff options
Diffstat (limited to 'app/views/explore/projects/_filter.html.haml')
-rw-r--r-- | app/views/explore/projects/_filter.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/explore/projects/_filter.html.haml b/app/views/explore/projects/_filter.html.haml index 4606f3ec674..ebc3f6b85ce 100644 --- a/app/views/explore/projects/_filter.html.haml +++ b/app/views/explore/projects/_filter.html.haml @@ -1,8 +1,9 @@ - has_label = local_assigns.fetch(:has_label, false) + - if current_user .dropdown.js-project-filter-dropdown-wrap %button.dropdown-menu-toggle{ href: '#', "data-toggle" => "dropdown", 'data-display' => 'static' } - - if !has_label + - unless has_label = icon('globe', class: 'mt-1') %span.light.ml-3= _("Visibility:") - if params[:visibility_level].present? |