Adjust footer link visibilty to work with Bootstrap 4

This commit is contained in:
Andreas Nedbal 2020-04-26 23:54:02 +02:00
parent 711d6a9f4e
commit dcb314d9a5
4 changed files with 8 additions and 4 deletions

View file

@ -6,4 +6,4 @@
.col-md-9.col-xs-12.col-sm-8
= render 'layouts/messages'
= yield
.visible-xs= render 'shared/links'
.d-block.d-sm-none= render 'shared/links'

View file

@ -5,4 +5,6 @@
= list_group_item t('views.general.comment').pluralize(2), moderation_path('comment')
= list_group_item t('views.general.user').pluralize(2), moderation_path('user')
= list_group_item t('views.general.question').pluralize(2), moderation_path('question')
= list_group_item 'Priority', moderation_priority_path
= list_group_item 'Priority', moderation_priority_path
.d-none.d-sm-block= render "shared/links"

View file

@ -11,4 +11,6 @@
= list_group_item t('views.notifications.tabs.smile'), notifications_path('smile'), badge: Notification.for(current_user).where(target_type: "Smile", new: true).count
= list_group_item t('views.notifications.tabs.comment'), notifications_path('comment'), badge: Notification.for(current_user).where(target_type: "Comment", new: true).count
= list_group_item t('views.notifications.tabs.commentsmile'), notifications_path('commentsmile'), badge: Notification.for(current_user).where(target_type: "CommentSmile", new: true).count
= list_group_item t('views.notifications.tabs.relationship'), notifications_path('relationship'), badge: Notification.for(current_user).where(target_type: "Relationship", new: true).count
= list_group_item t('views.notifications.tabs.relationship'), notifications_path('relationship'), badge: Notification.for(current_user).where(target_type: "Relationship", new: true).count
.d-none.d-sm-block= render "shared/links"

View file

@ -8,4 +8,4 @@
= list_group_item "Your Data", user_data_path
= list_group_item 'Export', user_export_path
.hidden-xs= render "shared/links"
.d-none.d-sm-block= render "shared/links"