2013-04-04 20:51:59 -07:00
|
|
|
h3 = t('Queues')
|
2012-06-11 08:41:13 -07:00
|
|
|
|
2012-12-04 15:36:51 -05:00
|
|
|
table class="queues table table-hover table-bordered table-striped table-white"
|
|
|
|
thead
|
2013-04-04 20:51:59 -07:00
|
|
|
th = t('Queue')
|
|
|
|
th = t('Size')
|
|
|
|
th = t('Actions')
|
2012-12-04 16:57:48 -05:00
|
|
|
- @queues.each do |queue, size|
|
2012-12-04 15:36:51 -05:00
|
|
|
tr
|
|
|
|
td
|
|
|
|
a href="#{root_path}queues/#{queue}" #{queue}
|
|
|
|
td= number_with_delimiter(size)
|
|
|
|
td width="20%"
|
|
|
|
form action="#{root_path}queues/#{queue}" method="post"
|
2013-04-04 20:51:59 -07:00
|
|
|
input.btn.btn-danger.btn-small type="submit" name="delete" value="#{t('Delete')}" data-confirm="#{t('AreYouSureDeleteQueue', :queue => queue)}"
|