Sha256: 73e103fd52601197b23c2abdea1a0220448b69db7d2516d905fdcdf55beb91ff

Contents?: true

Size: 424 Bytes

Versions: 3

Compression:

Stored size: 424 Bytes

Contents

<% if current_path != '' %>
  <% if params[:poll] %>
    <script>
      updatePage('<%= root_path + current_path %>')
    </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

3 entries across 3 versions & 1 rubygems

Version Path
sidekiq-3.4.1 web/views/_poll.erb
sidekiq-3.4.0 web/views/_poll.erb
sidekiq-3.3.4 web/views/_poll.erb