summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-06-07 18:25:32 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-06-07 18:25:32 +0000
commitd18ef93c85518dd76d3d8ecd6a99c1c5036a7fb0 (patch)
treee75b3e2484e2a7066f3aeb7cc9741c5574a90ec6 /app
parente3875ffd5739a60e59f54ff431d2c0bf17f8a55e (diff)
downloadredmine-d18ef93c85518dd76d3d8ecd6a99c1c5036a7fb0.tar.gz
redmine-d18ef93c85518dd76d3d8ecd6a99c1c5036a7fb0.zip
Always display the list of imported issues.
git-svn-id: http://svn.redmine.org/redmine/trunk@15491 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/imports/show.html.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/imports/show.html.erb b/app/views/imports/show.html.erb
index d9848cdb5..142129137 100644
--- a/app/views/imports/show.html.erb
+++ b/app/views/imports/show.html.erb
@@ -1,6 +1,6 @@
<h2><%= l(:label_import_issues) %></h2>
-<% if @import.unsaved_items.count == 0 %>
+<% if @import.unsaved_items.count > 0 %>
<p><%= l(:notice_import_finished, :count => @import.saved_items.count) %></p>
<ul>
@@ -8,7 +8,9 @@
<li><%= link_to_issue issue %></li>
<% end %>
</ul>
-<% else %>
+<% 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">