diff --git a/app/views/navigation/_main.haml b/app/views/navigation/_main.haml index 8da51976..c08b1df9 100644 --- a/app/views/navigation/_main.haml +++ b/app/views/navigation/_main.haml @@ -11,7 +11,7 @@ - if APP_CONFIG.dig(:features, :discover, :enabled) || current_user.mod? = nav_entry t('views.navigation.discover'), discover_path %ul.nav.navbar-nav - - unless @user.nil? && @user == current_user + - if @user.present? && @user != current_user %li.nav-item.d-none.d-sm-block{ data: { toggle: 'tooltip', placement: 'bottom' }, title: t('views.actions.list') } %a.nav-link{ href: '#', data: { target: '#modal-list-memberships', toggle: :modal } } %i.fa.fa-list.hidden-xs