gitlab-org--gitlab-foss/app/views/notify/import_issues_csv_email.text.erb
Heinrich Lee Yu e2698d5d74 Improve email messages
Also refactored cleanup view to use the same localized string
2019-01-07 11:16:58 +08:00

11 lines
553 B
Text

Your CSV import for project <%= @project.full_name %> (<%= project_url(@project) %>) has been completed.
<%= pluralize(@results[:success], 'issue') %> imported.
<% if @results[:error_lines].present? %>
Errors found on line <%= 'number'.pluralize(@results[:error_lines].size) %>: <%= @results[:error_lines].join(', ') %>. Please check if these lines have an issue title.
<% end %>
<% if @results[:parse_error] %>
Error parsing CSV file. Please make sure it has the correct format: a delimited text file that uses a comma to separate values.
<% end %>