You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

show.html.erb 885B

123456789101112131415161718192021222324252627282930
  1. <h2><%= import_title %></h2>
  2. <% if @import.saved_items.count > 0 %>
  3. <p><%= l(:notice_import_finished, :count => @import.saved_items.count) %>:</p>
  4. <%= render :partial => "#{import_partial_prefix}_saved_objects", :locals => { saved_objects: @import.saved_objects } %>
  5. <% end %>
  6. <% if @import.unsaved_items.count > 0 %>
  7. <p><%= l(:notice_import_finished_with_errors, :count => @import.unsaved_items.count, :total => @import.total_items) %>:</p>
  8. <table id="unsaved-items" class="list">
  9. <thead>
  10. <tr>
  11. <th>Position</th>
  12. <th>Message</th>
  13. </tr>
  14. </thead>
  15. <tbody>
  16. <% @import.unsaved_items.each do |item| %>
  17. <tr>
  18. <td><%= item.position %></td>
  19. <td><%= simple_format_without_paragraph item.message %></td>
  20. </tr>
  21. <% end %>
  22. </tbody>
  23. </table>
  24. <% end %>
  25. <%= render_if_exist :partial => "#{import_partial_prefix}_sidebar" %>