summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-08-11 06:36:42 -0700
committerStan Hu <stanhu@gmail.com>2015-08-11 06:36:42 -0700
commitfa58a85ed0da17fb7c0e24aac0d08dd2b91f06e8 (patch)
tree62b7baa8b5d03014a1bf7e484f012e3af36af6a8 /app
parentc0bf026ed8253e9bf749546e40f968dbc20aaac1 (diff)
downloadgitlab-ce-fa58a85ed0da17fb7c0e24aac0d08dd2b91f06e8.tar.gz
Improve error message display when project fails to import
Diffstat (limited to 'app')
-rw-r--r--app/views/import/base/create.js.haml2
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>")