summaryrefslogtreecommitdiff
path: root/app/views/projects/new.html.haml
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2018-05-03 16:00:01 +0300
committerGeorge Tsiolis <tsiolis.g@gmail.com>2018-05-04 11:05:13 +0300
commitb570bd464426d948c847111e3ad9415d8ba4325d (patch)
tree06ba733200f7f21c93fbf7c3432a44bebea8a869 /app/views/projects/new.html.haml
parent0bca017dfb187bfc5424cd73cde43c9dfbbbc175 (diff)
downloadgitlab-ce-b570bd464426d948c847111e3ad9415d8ba4325d.tar.gz
Inform the user when there are no project import options available
Diffstat (limited to 'app/views/projects/new.html.haml')
-rw-r--r--app/views/projects/new.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index b66e0559603..81e6129ccda 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -105,6 +105,10 @@
%hr
= render "shared/import_form", f: f
= render 'new_project_fields', f: f, project_name_id: "import-url-name"
+ - else
+ .nothing-here-block
+ %h4 No import options available
+ %p Contact an administrator to enable options for importing your project.
.save-project-loader.hide
.center