Sha256: 634b54be3ee2e3e305c439ebd6464b06167edddcc1bd8513e456cf8e7e14dd2f

Contents?: true

Size: 1.61 KB

Versions: 9

Compression:

Stored size: 1.61 KB

Contents

- title t('.title')
= multiple_floating_action_button do
  = delete_floating_action_button(Delayed::Backend::Mongoid::Job, class_action_path(:destroy_all, failed_only:true), title: t('.destroy_failed'), confirm: t('.confirm_destroy_failed'))
  = delete_floating_action_button(Delayed::Backend::Mongoid::Job, class_action_path(:destroy_all, failed_only:false), title: t('.destroy_all'), confirm: t('.confirm_destroy_all'))
  = refresh_floating_action_link(Delayed::Backend::Mongoid::Job, class_action_path(:resbumit_all, failed_only:true), title: t('.resubmit_failed'), confirm: t('.confirm_resubmit_failed'))
  = refresh_floating_action_link(Delayed::Backend::Mongoid::Job, class_action_path(:resbumit_all, failed_only:false), title: t('.resubmit_all'), confirm: t('.confirm_resubmit_all'))
.card
  .card-body
    .table-responsive.text-no-wrap
      %table.table.card-table.border.table-striped
        %thead
          %tr
            %th Run At
            %th Name
            %th Priority
            %th Status
            %th Actions
        %tbody
          - @delayed_jobs.each do |delayed_job|
            %tr
              %td=current_user.local_time(delayed_job.created_at)
              %td.name=link_to(delayed_job.display_name, model_path(delayed_job))
              %td=delayed_job.priority
              %td=delayed_job.status_description
              %td.actions
                = dropdown_menu do
                  = replay_dropdown_item(delayed_job, model_action_path(delayed_job, :resubmit), confirm: 'Are you sure you want to restart this job?')
                  = delete_dropdown_item(delayed_job, model_path(delayed_job))

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
web47core-3.2.20 app/views/delayed_jobs/index.html.haml
web47core-3.2.19 app/views/delayed_jobs/index.html.haml
web47core-3.2.18 app/views/delayed_jobs/index.html.haml
web47core-3.2.17 app/views/delayed_jobs/index.html.haml
web47core-3.2.16 app/views/delayed_jobs/index.html.haml
web47core-3.2.15 app/views/delayed_jobs/index.html.haml
web47core-3.2.14 app/views/delayed_jobs/index.html.haml
web47core-3.2.13 app/views/delayed_jobs/index.html.haml
web47core-3.2.12 app/views/delayed_jobs/index.html.haml