blob: 2a723537ee863e1da1a3fa83d87ec20109e9b2dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<h2><%= l(:label_import_issues) %></h2>
<div id="import-details">
<div id="import-progress"><div id="progress-label">0 / <%= @import.total_items.to_i %></div></div>
</div>
<% content_for :sidebar do %>
<%= render :partial => 'issues/sidebar' %>
<% end %>
<%= javascript_tag do %>
$(document).ready(function() {
$('#import-details').addClass('ajax-loading');
$('#import-progress').progressbar({value: 0, max: <%= @import.total_items.to_i %>});
$.ajax({
url: '<%= import_run_path(@import, :format => 'js') %>',
type: 'post'
});
});
<% end %>
|