retrospring/app/views/layouts/inbox.haml
Andreas Nedbal e56e65cf40 Further adjustments to inbox layout
- Fixed base styling of cards due to layout differences between panels of Bootstrap 3
- Removed duplicate rendering of sidebar
2020-04-25 19:45:53 +02:00

13 lines
No EOL
353 B
Text

.container.j2-page
.row
.col-md-3.col-xs-12.col-sm-4.order-2.order-sm-1
= render 'inbox/sidebar'
.col-md-9.col-xs-12.col-sm-8.order-1.order-sm-2
= render 'layouts/messages'
= yield
= render "shared/links"
- Inbox.where(id: @inbox.ids).update_all(new: false)
- provide(:title, generate_title("Inbox"))
- parent_layout "base"