1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Only show clear button if it makes sense

This commit is contained in:
Mike Perham 2012-10-28 12:47:17 -07:00
parent 0c6b0e662f
commit 754f7f5948

View file

@ -3,7 +3,8 @@
h3 Workers
== slim :_workers
.row
- if workers.size > 0
.row
.span2
form action="#{root_path}reset" method="post"
button.btn.btn-primary.btn-block type="submit" title="If you kill -9 Sidekiq, this table can fill up with old data." Clear worker list