make the shared links visible everywhere again

This commit is contained in:
Georg Gadinger 2022-10-25 16:43:04 +02:00 committed by Andreas Nedbal
parent f6abb8a8ca
commit 430abe8743
6 changed files with 10 additions and 3 deletions

View File

@ -4,4 +4,5 @@
= render 'layouts/messages'
= render 'tabs/feed', lists: @lists, list: @list
= yield
.d-block.d-sm-none= render 'shared/links'
= render 'shared/links'

View File

@ -12,5 +12,7 @@
.card-body
= yield
= render 'shared/links'
:ruby
parent_layout "base"

View File

@ -5,6 +5,8 @@
.col-md-9.col-xs-12.col-sm-8
= yield
.d-block.d-sm-none= render "shared/links"
:ruby
Notification.for(current_user).update_all(new: false)
parent_layout 'base'

View File

@ -15,3 +15,5 @@
- if current_user.mod? && @user != current_user
= render 'modal/privileges', user: @user
= render 'modal/ban', user: @user
.d-block.d-sm-none= render 'shared/links'

View File

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

View File

@ -19,5 +19,3 @@
%hr/
%p= t(".delete.heading")
%p= link_to t(".delete.action"), "/settings/account", data: { turbo_confirm: t(".delete.confirm"), turbo_method: :delete }, class: "btn btn-danger btn-xs"
.visible-xs= render "shared/links"