Sha256: 7dc6f91d51ca19c5b9b31018f312cbc2b44bf1e5acd9b8a4e5475002b9db7218

Contents?: true

Size: 456 Bytes

Versions: 15

Compression:

Stored size: 456 Bytes

Contents

<% if count >= settings.config[:queue_size] %>
  <span class="count label alert radius">full</span>
<% elsif today and now.hour >= settings.config[:cutoff_hour] %>
  <span class="count label alert radius">cutoff</span>
<% elsif count > 0 && count < settings.config[:queue_size] %>
  <span class="count label radius"><%= count %> of <%= settings.config[:queue_size] %></span>
<% else # count == 0 %>
  <span class="count label radius">empty</span>
<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
opsask-2.3.10 views/_count.erb
opsask-2.3.9 views/_count.erb
opsask-2.3.8 views/_count.erb
opsask-2.3.7 views/_count.erb
opsask-2.3.6 views/_count.erb
opsask-2.3.5 views/_count.erb
opsask-2.3.4 views/_count.erb
opsask-2.3.3 views/_count.erb
opsask-2.3.2 views/_count.erb
opsask-2.3.1 views/_count.erb
opsask-2.3.0 views/_count.erb
opsask-2.2.3 views/_count.erb
opsask-2.2.2 views/_count.erb
opsask-2.2.1 views/_count.erb
opsask-2.2.0 views/_count.erb