Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-07-06 20:04:14 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-07-07 21:25:58 +0300
commit35224dbf5e88936b138af7e6215a2e4e0503ae97 (patch)
tree2068701a02326d2c1d273d333cae2dd2e24b483a /app/views/admin
parent338072cc4ba66cd7eb6fbd9541862946e4ae4b75 (diff)
Do not show Any Namespace option when needed
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/projects/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index 7e1f5a52c6f..2c5aba71699 100644
--- a/app/views/admin/projects/show.html.haml
+++ b/app/views/admin/projects/show.html.haml
@@ -100,7 +100,7 @@
= f.label :new_namespace_id, "Namespace", class: 'control-label'
.col-sm-10
.dropdown
- = dropdown_toggle('Search for Namespace', { toggle: 'dropdown', field_name: 'new_namespace_id' }, { toggle_class: 'js-namespace-select large' })
+ = dropdown_toggle('Search for Namespace', { toggle: 'dropdown', field_name: 'new_namespace_id', show_any: 'false' }, { toggle_class: 'js-namespace-select large' })
.dropdown-menu.dropdown-select
= dropdown_title('Namespaces')
= dropdown_filter("Search for Namespace")