<%= l(:label_import_issues) %>

<% if @import.unsaved_items.count == 0 %>

<%= l(:notice_import_finished, :count => @import.saved_items.count) %>

    <% @import.saved_objects.each do |issue| %>
  1. <%= link_to_issue issue %>
  2. <% end %> <% else %>

    <%= l(:notice_import_finished_with_errors, :count => @import.unsaved_items.count, :total => @import.total_items) %>

    <% @import.unsaved_items.each do |item| %> <% end %>
    Position Message
    <%= item.position %> <%= simple_format_without_paragraph item.message %>
    <% end %> <% content_for :sidebar do %> <%= render :partial => 'issues/sidebar' %> <% end %>