FEATURE: add an alert in sidekiq's scheduler tab when sidekiq is paused

This commit is contained in:
Régis Hanol 2014-08-20 20:01:57 +02:00
parent d58d04f595
commit 3fe6fc54d9
1 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,12 @@
<header class="row">
<div class="col-sm-5">
<% if Sidekiq.paused? %>
<div class="col-sm-12">
<div class="alert alert-danger text-center">
<h2>SIDEKIQ IS PAUSED!</h2>
</div>
</div>
<% end %>
<div class="col-sm-12">
<h3>Recurring Jobs</h3>
</div>
</header>