%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 %> <% form_id = "import_files" @title_section = t('import_files.page_title_summary')+" » " + (h @import_file.agent_file_path).gsub(/\s/, " ") @section_path = "from "+ @agent_name + " on " + format_timestamp(@import_file.last_imported) %> <% form_for(@job, :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'), :details_only => true}) do %>
<% if @count != 1 %> <%= t("import_files.cron_summary.imported_summary_plural", :count => @count )%> <% else %> <%= t("import_files.cron_summary.imported_summary", :count => @count )%> <% end %>
<% link = link_to(t("common.here"), jobs_path(:cron_id => params[:id], :import_date => params[:import_date], :file_name => @import_file.agent_file_path, :agent_name => @agent_name)) %> <%= t("import_files.cron_summary.imported_list", :link => link) %>
<% link = link_to(t("common.here"), import_import_file_path(params[:id], :type => "cronImport")) %> <%= t("import_files.cron_summary.imported_more", :link => link)%>