2013-08-21 18:38:52 -04:00
|
|
|
<h3><%= t('Queues') %></h3>
|
|
|
|
|
|
|
|
<table class="queues table table-hover table-bordered table-striped table-white">
|
|
|
|
<thead>
|
|
|
|
<th><%= t('Queue') %></th>
|
|
|
|
<th><%= t('Size') %></th>
|
|
|
|
<th><%= t('Actions') %></th>
|
|
|
|
</thead>
|
|
|
|
<% @queues.each do |queue| %>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<a href="<%= root_path %>queues/<%= queue.name %>"><%= queue.name %></a>
|
|
|
|
</td>
|
|
|
|
<td><%= number_with_delimiter(queue.size) %> </td>
|
|
|
|
<td width="20%">
|
|
|
|
<form action="<%=root_path %>queues/<%= queue.name %>" method="post">
|
2013-10-01 00:43:24 -04:00
|
|
|
<input class="btn btn-danger btn-xs" type="submit" name="delete" value="<%= t('Delete') %>" data-confirm="<%= t('AreYouSureDeleteQueue', :queue => queue.name) %>" />
|
2013-08-21 18:38:52 -04:00
|
|
|
</form>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|