2014-11-11 09:02:59 -08:00
|
|
|
.container.j2-page
|
2014-11-11 11:24:49 -08:00
|
|
|
= render 'layouts/messages'
|
2014-12-10 10:09:44 -08:00
|
|
|
.alert.alert-info
|
|
|
|
.row
|
|
|
|
.col-md-9.col-sm-8.col-xs-12
|
|
|
|
%span.text-center Out of questions?
|
|
|
|
.col-md-9.col-sm-5.col-xs-12
|
|
|
|
%button.btn.btn-default{type: :button, id: 'ib-generate-question'} Get new question
|
2014-12-09 14:37:44 -08:00
|
|
|
|
2014-12-09 14:21:41 -08:00
|
|
|
#entries
|
|
|
|
- @inbox.each do |i|
|
|
|
|
= render 'inbox/entry', i: i
|
2014-11-11 10:53:35 -08:00
|
|
|
|
2014-12-09 14:37:44 -08:00
|
|
|
- if @inbox.empty?
|
2014-11-11 11:24:49 -08:00
|
|
|
|
2014-12-09 14:37:44 -08:00
|
|
|
Nothing to see here.
|
2014-11-17 04:19:59 -08:00
|
|
|
|
2014-11-30 12:08:00 -08:00
|
|
|
= render "shared/links"
|
|
|
|
- @inbox.update_all(new: false)
|