mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Hide live poll button on dashboard page.
This commit is contained in:
parent
9f16aa3d2f
commit
625a0c10c9
1 changed files with 7 additions and 6 deletions
|
@ -33,12 +33,13 @@ html
|
|||
span.title Status
|
||||
== slim :_status
|
||||
== slim :_summary
|
||||
.row
|
||||
.span2
|
||||
- if params[:poll]
|
||||
a#live-poll.btn.btn-block.btn-primary.active href='#{{root_path}}#{{current_path}}' Stop Polling
|
||||
- else
|
||||
a#live-poll.btn.btn-block.btn-primary href='#{{root_path}}#{{current_path}}?poll=true' Live Poll
|
||||
- unless current_path.include?("dashboard")
|
||||
.row
|
||||
.span2
|
||||
- if params[:poll]
|
||||
a#live-poll.btn.btn-block.btn-primary.active href='#{{root_path}}#{{current_path}}' Stop Polling
|
||||
- else
|
||||
a#live-poll.btn.btn-block.btn-primary href='#{{root_path}}#{{current_path}}?poll=true' Live Poll
|
||||
|
||||
.span10
|
||||
== yield
|
||||
|
|
Loading…
Reference in a new issue