Sha256: 9b5d77212eb035bedeac59f70d0d34d0e1be0a330fa796b4892eda648b33c5f5

Contents?: true

Size: 1.57 KB

Versions: 42

Compression:

Stored size: 1.57 KB

Contents

<table class="table table-striped table-bordered table-hover">
    <thead>
        <tr>
            <th rowspan="2"><%= t('Started') %></th>
            <th rowspan="2"><%= t('BID') %></th>
            <th rowspan="2"><%= t('Description') %></th>

            <th colspan="5"><%= t('Jobs') %></th>
            <th colspan="4"><%= t('Sub-Batches') %></th>
        </tr>
        <tr>
            <th><%= t('Pending') %></th>
            <th><%= t('Failed') %></th>
            <th><%= t('Dead') %></th>
            <th><%= t('Complete') %></th>
            <th><%= t('Total') %></th>

            <th><%= t('Pending') %></th>
            <th><%= t('Failed') %></th>
            <th><%= t('Success') %></th>
            <th><%= t('Total') %></th>
        </tr>
    </thead>

    <% batches.each do |batch| %>
        <% status = CanvasSync::JobBatches::Batch::Status.new(batch) %>
        <tr>
            <td><%= safe_relative_time(batch.created_at.to_f) %></th>
            <td><a href="<%= root_path %>batches/<%= batch.bid %>"><%= batch.bid %></a></td>
            <td><%= batch.description %></th>

            <td><%= status.pending %></th>
            <td><%= status.failures %></th>
            <td><%= status.dead %></th>
            <td><%= status.completed_count %></th>
            <td><%= status.job_count %></th>

            <td><%= status.child_count - status.successful_children_count %></th>
            <td><%= status.failed_children_count %></th>
            <td><%= status.successful_children_count %></th>
            <td><%= status.child_count %></th>
        </tr>
    <% end %>
</table>

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
canvas_sync-0.22.9 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.8 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.6 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.5 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.4 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.3 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.2 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.1 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.0 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.0.beta8 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.0.beta7 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.0.beta6 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.0.beta5 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.0.beta4 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.0.beta3 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.0.beta2 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.22.0.beta1 lib/canvas_sync/job_batches/compat/sidekiq/web/views/_batches_table.erb
canvas_sync-0.21.1 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.21.1.beta1 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.21.0 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb