mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 00:46:03 +01:00
Remove dropup notification menu from mobile
This commit is contained in:
parent
07ea833d13
commit
18f428eddf
1 changed files with 2 additions and 6 deletions
|
@ -8,12 +8,8 @@
|
|||
icon: 'inbox', icon_only: true
|
||||
- if APP_CONFIG.dig(:features, :discover, :enabled) || current_user.mod?
|
||||
= nav_entry t("navigation.discover"), discover_path, icon: 'compass', icon_only: true
|
||||
%li.nav-item
|
||||
%a.nav-link{ href: '#', data: { bs_toggle: 'dropdown', bs_target: '#rs-mobile-nav-notifications' }, aria: { controls: 'rs-mobile-nav-notifications', expanded: 'false' } }
|
||||
%i.fa{ class: "fa-#{notifications_icon}" }
|
||||
%span.visually-hidden= t("navigation.notifications")
|
||||
%span.badge.badge-pill.badge-primary= notification_count
|
||||
= render 'navigation/dropdown/notifications', notifications: notifications, size: "mobile"
|
||||
= nav_entry t("navigation.notifications"), notifications_path("all"), icon: notifications_icon,
|
||||
badge: notification_count, badge_color: "primary", icon_only: true
|
||||
%li.nav-item.profile--image-dropdown
|
||||
%a.nav-link{ href: '#', data: { bs_toggle: 'dropdown', bs_target: '#rs-mobile-nav-profile' }, aria: { controls: 'rs-mobile-nav-profile', expanded: 'false' } }
|
||||
%img.avatar-md.d-inline{ src: current_user.profile_picture.url(:small) }
|
||||
|
|
Loading…
Reference in a new issue