mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-26 18:31:14 +00:00
git-svn-id: http://svn.redmine.org/redmine/trunk@14493 e93f8b46-1217-0410-a6f0-8f06a7374b81
21 lines
563 B
Plaintext
21 lines
563 B
Plaintext
<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 %>
|