Retrospring/app/views/inbox/show.html.haml

18 lines
441 B
Plaintext

.container.j2-page
.row
.col-md-3.col-xs-12.col-sm-3.hidden-xs
= render 'inbox/sidebar'
.col-md-9.col-xs-12.col-sm-9
= render 'layouts/messages'
#entries
- @inbox.each do |i|
= render 'inbox/entry', i: i
- if @inbox.empty?
Nothing to see here.
.col-md-9.col-xs-12.col-sm-9.visible-xs
= render 'inbox/sidebar'
= render "shared/links"
- @inbox.update_all(new: false)