Sha256: 8e4baffc5b0a87a8f33cba610b77857a9eda80cc08b91f190a08e8ad326ea59d

Contents?: true

Size: 520 Bytes

Versions: 7

Compression:

Stored size: 520 Bytes

Contents

- content_for :javascripts_bottom do
  = javascript_include_tag 'standalone/progress_bar', :defer => true

#progress
  .progressbar.js-progressbar
  #pbstat.js-pbstat
    #pberrors.pberrors.js-pberrors
- if @back_url.present?
  = link_to 'Закрыть', @back_url

:javascript
  app.config.progressBar = {
    url: #{job_status_path(domain: :current).to_json},
    pid: #{@job_id.to_json},
    documentLocation: #{@success_url.to_json},
    documentLocationError: #{@error_url ? @error_url.to_json : nil.to_json}
  };

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
resque-integration-3.8.2 app/views/shared/job_progress_bar.html.haml
resque-integration-3.8.1 app/views/shared/job_progress_bar.html.haml
resque-integration-3.8.0 app/views/shared/job_progress_bar.html.haml
resque-integration-3.7.1 app/views/shared/job_progress_bar.html.haml
resque-integration-3.5.1 app/views/shared/job_progress_bar.html.haml
resque-integration-3.5.0 app/views/shared/job_progress_bar.html.haml
resque-integration-3.4.1 app/views/shared/job_progress_bar.html.haml