@@ -1,30 +1,30 | |||
|
1 | 1 | <h2><%= l(:label_import_issues) %></h2> |
|
2 | 2 | |
|
3 | 3 | <% if @import.unsaved_items.count == 0 %> |
|
4 | 4 | <p><%= l(:notice_import_finished, :count => @import.saved_items.count) %></p> |
|
5 | 5 | |
|
6 |
< |
|
|
6 | <ul> | |
|
7 | 7 | <% @import.saved_objects.each do |issue| %> |
|
8 | 8 | <li><%= link_to_issue issue %></li> |
|
9 | 9 | <% end %> |
|
10 | 10 | </ul> |
|
11 | 11 | <% else %> |
|
12 | 12 | <p><%= l(:notice_import_finished_with_errors, :count => @import.unsaved_items.count, :total => @import.total_items) %></p> |
|
13 | 13 | |
|
14 | 14 | <table id="unsaved-items" class="list"> |
|
15 | 15 | <tr> |
|
16 | 16 | <th>Position</th> |
|
17 | 17 | <th>Message</th> |
|
18 | 18 | </tr> |
|
19 | 19 | <% @import.unsaved_items.each do |item| %> |
|
20 | 20 | <tr> |
|
21 | 21 | <td><%= item.position %></td> |
|
22 | 22 | <td><%= simple_format_without_paragraph item.message %></td> |
|
23 | 23 | </tr> |
|
24 | 24 | <% end %> |
|
25 | 25 | </table> |
|
26 | 26 | <% end %> |
|
27 | 27 | |
|
28 | 28 | <% content_for :sidebar do %> |
|
29 | 29 | <%= render :partial => 'issues/sidebar' %> |
|
30 | 30 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now