diff options
author | Stan Hu <stanhu@gmail.com> | 2015-08-11 06:36:42 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-08-11 06:36:42 -0700 |
commit | fa58a85ed0da17fb7c0e24aac0d08dd2b91f06e8 (patch) | |
tree | 62b7baa8b5d03014a1bf7e484f012e3af36af6a8 /app/views/import | |
parent | c0bf026ed8253e9bf749546e40f968dbc20aaac1 (diff) | |
download | gitlab-ce-fa58a85ed0da17fb7c0e24aac0d08dd2b91f06e8.tar.gz |
Improve error message display when project fails to import
Diffstat (limited to 'app/views/import')
-rw-r--r-- | app/views/import/base/create.js.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/import/base/create.js.haml b/app/views/import/base/create.js.haml index 9529f16c128..d8af0295b2d 100644 --- a/app/views/import/base/create.js.haml +++ b/app/views/import/base/create.js.haml @@ -26,4 +26,4 @@ - else :plain job = $("tr#repo_#{@repo_id}") - job.find(".import-actions").html("<p class='alert alert-danger'>Error saving project: #{escape_javascript(@project.errors.messages.to_s)}</p>") + job.find(".import-actions").html("<i class='fa fa-exclamation-circle'> Error saving project: #{escape_javascript(@project.errors.full_messages.join(','))}</i>") |