Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
20
app/views/imports/run.html.erb
Normal file
20
app/views/imports/run.html.erb
Normal file
|
@ -0,0 +1,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 %>
|
Loading…
Add table
Add a link
Reference in a new issue