1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-11 13:15:20 +00:00
redmine/app/views/imports/show.html.erb
Marius Balteanu 0b5c1972c3 Translate position and message labels in imports/show (#43106).
Patch by Kenta Kumojima (user:kumojima).

git-svn-id: https://svn.redmine.org/redmine/trunk@23902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-07 18:56:11 +00:00

29 lines
848 B
Plaintext

<h2><%= import_title %></h2>
<% if @import.saved_items.count > 0 %>
<p><%= l(:notice_import_finished, :count => @import.saved_items.count) %>:</p>
<%= render :partial => "#{import_partial_prefix}_saved_objects", :locals => { saved_objects: @import.saved_objects } %>
<% end %>
<% if @import.unsaved_items.count > 0 %>
<p><%= l(:notice_import_finished_with_errors, :count => @import.unsaved_items.count, :total => @import.total_items) %>:</p>
<table id="unsaved-items" class="list">
<thead>
<tr>
<th><%= l(:label_position) %></th>
<th><%= l(:label_message) %></th>
</tr>
</thead>
<tbody>
<% @import.unsaved_items.each do |item| %>
<tr>
<td><%= item.position %></td>
<td><%= simple_format_without_paragraph item.message %></td>
</tr>
<% end %>
</tbody>
</table>
<% end %>