Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 726289a931
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (19 sloc) 0.597 kb
%h1 Queues Threshold
%p
Set thresholds for the maximum number of messages in a Queue. If the number gets exceeded, a warning is displayed.
%form(method="post" action="config" class="config")
%table
%tr
%th
Queue
%th
Threshold
-@queues.each_with_index do |queue, index|
%tr
%td
%label(for="queue_threshold_#{index}")=queue["name"]
%td
%input(type="text" id="queue_threshold_#{index}" name="queues[#{queue["name"]}]" value="#{@config[queue["name"]] || 0}")
%tr
%td(colspan=2)
%input(type="submit")
Jump to Line
Something went wrong with that request. Please try again.