##// END OF EJS Templates
HTML markup discrepancy ol and ul at app/views/imports/show.html.erb (#22134)....
Jean-Philippe Lang -
r14910:382b6911fdd9
parent child
Show More
@@ -1,30 +1,30
1 <h2><%= l(:label_import_issues) %></h2>
1 <h2><%= l(:label_import_issues) %></h2>
2
2
3 <% if @import.unsaved_items.count == 0 %>
3 <% if @import.unsaved_items.count == 0 %>
4 <p><%= l(:notice_import_finished, :count => @import.saved_items.count) %></p>
4 <p><%= l(:notice_import_finished, :count => @import.saved_items.count) %></p>
5
5
6 <ol>
6 <ul>
7 <% @import.saved_objects.each do |issue| %>
7 <% @import.saved_objects.each do |issue| %>
8 <li><%= link_to_issue issue %></li>
8 <li><%= link_to_issue issue %></li>
9 <% end %>
9 <% end %>
10 </ul>
10 </ul>
11 <% else %>
11 <% else %>
12 <p><%= l(:notice_import_finished_with_errors, :count => @import.unsaved_items.count, :total => @import.total_items) %></p>
12 <p><%= l(:notice_import_finished_with_errors, :count => @import.unsaved_items.count, :total => @import.total_items) %></p>
13
13
14 <table id="unsaved-items" class="list">
14 <table id="unsaved-items" class="list">
15 <tr>
15 <tr>
16 <th>Position</th>
16 <th>Position</th>
17 <th>Message</th>
17 <th>Message</th>
18 </tr>
18 </tr>
19 <% @import.unsaved_items.each do |item| %>
19 <% @import.unsaved_items.each do |item| %>
20 <tr>
20 <tr>
21 <td><%= item.position %></td>
21 <td><%= item.position %></td>
22 <td><%= simple_format_without_paragraph item.message %></td>
22 <td><%= simple_format_without_paragraph item.message %></td>
23 </tr>
23 </tr>
24 <% end %>
24 <% end %>
25 </table>
25 </table>
26 <% end %>
26 <% end %>
27
27
28 <% content_for :sidebar do %>
28 <% content_for :sidebar do %>
29 <%= render :partial => 'issues/sidebar' %>
29 <%= render :partial => 'issues/sidebar' %>
30 <% end %>
30 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now