Sha256: a4b1cda8fa1d7762b42bb6eeaf865feb73f8a862fe10a7af690f1c0467bbb4e2

Contents?: true

Size: 1.11 KB

Versions: 7

Compression:

Stored size: 1.11 KB

Contents

#batch-info{data: {batch: @batch.to_json}}
- if @batch.status == "Queued"
  %span.batch-message-queued Data is queued for download from Canvas.

- if @batch.status == "Completed"
  .alert.alert-success
    %button.close{"data-dismiss" => "alert", :type => "button"} ×
    %span.batch-message-completed
      Data successfully downloaded from Canvas.

- if @batch.status == "Started"
  %h6.batch-message-started
    Downloading data from Canvas
    .progress.progress-striped.active
      .bar{:style => "width: #{@batch.percent_complete}%;"}


- if @batch.status == "Error"
  .alert.alert-block.alert-error
    %button.close{"data-dismiss" => "alert", :type => "button"} ×
    %span.batch-message-error Data failed to download from Canvas
    = @batch.message

- if @batch.status == "Canceled"
  .alert.alert-block.alert-info
    %button.close{"data-dismiss" => "alert", :type => "button"} ×
    %span.batch-message-retrigger
      Canvas data last downloaded
      = @batch.updated_at
      .pull-right
        = link_to "Retrigger", retrigger_canvas_batch_path(@batch), method: :post,  class: "btn btn-default"
      .clearfix

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
coalescing_panda-4.0.11 app/views/coalescing_panda/canvas_batches/_canvas_batch.html.haml
coalescing_panda-4.0.10 app/views/coalescing_panda/canvas_batches/_canvas_batch.html.haml
coalescing_panda-4.0.9 app/views/coalescing_panda/canvas_batches/_canvas_batch.html.haml
coalescing_panda-4.0.8 app/views/coalescing_panda/canvas_batches/_canvas_batch.html.haml
coalescing_panda-4.0.7 app/views/coalescing_panda/canvas_batches/_canvas_batch.html.haml
coalescing_panda-4.0.6 app/views/coalescing_panda/canvas_batches/_canvas_batch.html.haml
coalescing_panda-4.0.5 app/views/coalescing_panda/canvas_batches/_canvas_batch.html.haml