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.18.10 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.18.9 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.18.8 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.18.7 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.18.6 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.18.5 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.18.3 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.18.2 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.18.1 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.18.0.beta2 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.18.0.beta1 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.43 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.42 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.41 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.40 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.39 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.38 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.37 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.36 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb
canvas_sync-0.17.35 lib/canvas_sync/job_batches/sidekiq/web/views/_batches_table.erb