Sha256: 8be8ef6a22aeaa64b8308b957e53193bd542128f79b53e090ce95ce0cd841bd2

Contents?: true

Size: 478 Bytes

Versions: 9

Compression:

Stored size: 478 Bytes

Contents

<% if current_path != '' %>
  <% if params[:poll] %>
    <script>
        setInterval("window.location.reload(true)", parseInt(localStorage.timeInterval) || 2000);
    </script>
    <a id="live-poll" class="btn btn-primary active" href="<%= root_path %><%= current_path %>"><%= t('StopPolling') %></a>
  <% else %>
    <a id="live-poll" class="btn btn-primary" href="<%= root_path %><%= current_path %>?<%= qparams(poll: true) %>"><%= t('LivePoll') %></a>
  <% end %>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sidekiq-3.3.3 web/views/_poll.erb
sidekiq-3.3.2 web/views/_poll.erb
sidekiq-3.3.1 web/views/_poll.erb
sidekiq-3.3.0 web/views/_poll.erb
sidekiq-3.2.6 web/views/_poll.erb
sidekiq-3.2.5 web/views/_poll.erb
sidekiq-3.2.4 web/views/_poll.erb
sidekiq-3.2.3 web/views/_poll.erb
sidekiq-3.2.2 web/views/_poll.erb