<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 %> <% form_id = "automate_schedule_import_summary_form" @title_section = t('import_files.page_title_import_summary')+" » " + (h @file_name).gsub(/\s/, " ") @section_path = "from " @failed_count = @flash_message.length messages_limit = 20 @flash_message = @flash_message[0...messages_limit] + [t('common.growler_messages_limit', :limit => messages_limit, :total => @flash_message.length)] if @flash_message.length > messages_limit %> <% form_for("automate_schedule_import_summary", :html => { :id => form_id, :autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"}) do |form| %> <% render( :layout => 'shared/edit_section', :locals => { :section_id => "import_comleted_general", :section_title => t('common.import_summary'), :summary_only => true}) do %>
<%= t('import_files.complete_import.failed_count', :count => @failed_count) if @failed_count > 0 %> <%= t('import_files.complete_import.see_detailed', :filename => @log_filename) if @failed_count > 0 %>
<%= t('import_files.complete_import.tag_info', :tag => @import_tag)%>

<%= button_to_function(t('import_files.complete_import.done'), "window.open('#{import_files_path(:view_mode => 'automate_schedule_import')}', '_self')") %>
<%end%> <% end %>