Sha256: 64638bcfd5a438016767dc7f8b9b9ada9895d53267c82fb50aa8145096a80d6b

Contents?: true

Size: 1.49 KB

Versions: 63

Compression:

Stored size: 1.49 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="4"><%= t('Jobs') %></th>
            <th colspan="4"><%= t('Sub-Batches') %></th>
        </tr>
        <tr>
            <th><%= t('Pending') %></th>
            <th><%= t('Failed') %></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.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

63 entries across 63 versions & 1 rubygems

Version Path
canvas_sync-0.17.19 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.18 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.17.beta1 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.16 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.15 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.14 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.13 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.12 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.10.beta2 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.10.beta1 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.8 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.8.beta4 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.8.beta3 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.8.beta2 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.8.beta1 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.7 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.7.beta1 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.6 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.6.beta1 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.5 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb