Skip to content

Commit d18ef93

Browse files
committed
Always display the list of imported issues.
git-svn-id: http://svn.redmine.org/redmine/trunk@15491 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent e3875ff commit d18ef93

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/views/imports/show.html.erb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
<h2><%= l(:label_import_issues) %></h2>
22

3-
<% if @import.unsaved_items.count == 0 %>
3+
<% if @import.unsaved_items.count > 0 %>
44
<p><%= l(:notice_import_finished, :count => @import.saved_items.count) %></p>
55

66
<ul>
77
<% @import.saved_objects.each do |issue| %>
88
<li><%= link_to_issue issue %></li>
99
<% end %>
1010
</ul>
11-
<% else %>
11+
<% end %>
12+
13+
<% if @import.unsaved_items.count > 0 %>
1214
<p><%= l(:notice_import_finished_with_errors, :count => @import.unsaved_items.count, :total => @import.total_items) %></p>
1315

1416
<table id="unsaved-items" class="list">

0 commit comments

Comments
 (0)