##// END OF EJS Templates
Fixes r15491....
Jean-Philippe Lang -
r15114:85097a89a16c
parent child
Show More
@@ -1,32 +1,32
1 1 <h2><%= l(:label_import_issues) %></h2>
2 2
3 <% if @import.unsaved_items.count > 0 %>
3 <% if @import.saved_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 <% end %>
12 12
13 13 <% if @import.unsaved_items.count > 0 %>
14 14 <p><%= l(:notice_import_finished_with_errors, :count => @import.unsaved_items.count, :total => @import.total_items) %></p>
15 15
16 16 <table id="unsaved-items" class="list">
17 17 <tr>
18 18 <th>Position</th>
19 19 <th>Message</th>
20 20 </tr>
21 21 <% @import.unsaved_items.each do |item| %>
22 22 <tr>
23 23 <td><%= item.position %></td>
24 24 <td><%= simple_format_without_paragraph item.message %></td>
25 25 </tr>
26 26 <% end %>
27 27 </table>
28 28 <% end %>
29 29
30 30 <% content_for :sidebar do %>
31 31 <%= render :partial => 'issues/sidebar' %>
32 32 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now