Retrospring/app/views/layouts/inbox.haml

15 lines
442 B
Plaintext
Raw Normal View History

.container-lg.container--main
2020-04-25 09:10:48 -07:00
.row
.col-md-3.col-xs-12.col-sm-4.order-2.order-sm-1
2020-05-10 04:21:41 -07:00
= render 'inbox/sidebar', delete_id: @delete_id, disabled: @disabled, inbox_count: @inbox_count
.col-md-9.col-xs-12.col-sm-8.order-1.order-sm-2
2020-04-25 09:10:48 -07:00
= render 'layouts/messages'
= yield
2020-05-10 04:10:47 -07:00
= render 'shared/links'
2020-04-25 09:10:48 -07:00
2020-05-10 04:10:47 -07:00
:ruby
Inbox.where(id: @inbox.ids).update_all(new: false)
provide(:title, generate_title('Inbox'))
parent_layout 'base'