Fix stray OR in New Project page

When all import sources are disabled, the New Project page shows
the "Create from template" options followed by an "OR" divider followed
by nothing in 9.5.x.
This commit is contained in:
Robin Bobbitt 2017-09-06 16:32:36 -04:00
parent 21935d8538
commit 54bafaa690
2 changed files with 7 additions and 2 deletions

View File

@ -28,8 +28,8 @@
= link_to icon('question-circle'), help_page_path("gitlab-basics/create-project"), target: '_blank', aria: { label: "Whats included in a template?" }, title: "Whats included in a template?", class: 'has-tooltip', data: { placement: 'top'}
%div
= render 'project_templates', f: f
.second-column
- if import_sources_enabled?
- if import_sources_enabled?
.second-column
.project-import
.form-group.clearfix
= f.label :visibility_level, class: 'label-light' do #the label here seems wrong

View File

@ -0,0 +1,5 @@
---
title: Fix stray OR in New Project page
merge_request: 14096
author: Robin Bobbitt
type: fixed