summaryrefslogtreecommitdiff
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
parent0bca017dfb187bfc5424cd73cde43c9dfbbbc175 (diff)
downloadgitlab-ce-b570bd464426d948c847111e3ad9415d8ba4325d.tar.gz
Inform the user when there are no project import options available
-rw-r--r--app/views/projects/new.html.haml4
-rw-r--r--changelogs/unreleased/inform-the-user-when-there-are-no-project-import-options-available.yml5
2 files changed, 9 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
diff --git a/changelogs/unreleased/inform-the-user-when-there-are-no-project-import-options-available.yml b/changelogs/unreleased/inform-the-user-when-there-are-no-project-import-options-available.yml
new file mode 100644
index 00000000000..c14f21fc644
--- /dev/null
+++ b/changelogs/unreleased/inform-the-user-when-there-are-no-project-import-options-available.yml
@@ -0,0 +1,5 @@
+---
+title: Inform the user when there are no project import options available
+merge_request: 18716
+author: George Tsiolis
+type: changed