mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 15:16:03 +01:00
Adjust footer link visibilty to work with Bootstrap 4
This commit is contained in:
parent
711d6a9f4e
commit
dcb314d9a5
4 changed files with 8 additions and 4 deletions
|
@ -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'
|
|
@ -6,3 +6,5 @@
|
|||
= 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
|
||||
|
||||
.d-none.d-sm-block= render "shared/links"
|
|
@ -12,3 +12,5 @@
|
|||
= 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
|
||||
|
||||
.d-none.d-sm-block= render "shared/links"
|
|
@ -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"
|
Loading…
Reference in a new issue