lib/sidetiq/views/sidetiq.slim in sidetiq-0.1.4 vs lib/sidetiq/views/sidetiq.slim in sidetiq-0.1.5
- old
+ new
@@ -10,14 +10,15 @@
th style="width: 20%" Next Run
th style="width: 10%" Actions
- @schedules.each do |worker, schedule|
tr
td
- = worker.name
+ a href="#{root_path}sidetiq/#{worker.name}"= worker.name
td= worker.get_sidekiq_options['queue']
td
== relative_time(schedule.next_occurrence(@time))
td
- a href="#{root_path}sidetiq/#{worker.name}" Details
+ form action="#{root_path}sidetiq/#{worker.name}/trigger" method="post"
+ input.btn.btn-danger.btn-small type="submit" name="trigger" value="Trigger" data-confirm="Are you sure you want to trigger this job?"
- else
.alert.alert-success No recurring jobs found.