Commit 54bafaa6 authored by Robin Bobbitt's avatar Robin Bobbitt

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.
parent 21935d85
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
= link_to icon('question-circle'), help_page_path("gitlab-basics/create-project"), target: '_blank', aria: { label: "What’s included in a template?" }, title: "What’s included in a template?", class: 'has-tooltip', data: { placement: 'top'} = link_to icon('question-circle'), help_page_path("gitlab-basics/create-project"), target: '_blank', aria: { label: "What’s included in a template?" }, title: "What’s included in a template?", class: 'has-tooltip', data: { placement: 'top'}
%div %div
= render 'project_templates', f: f = render 'project_templates', f: f
.second-column - if import_sources_enabled?
- if import_sources_enabled? .second-column
.project-import .project-import
.form-group.clearfix .form-group.clearfix
= f.label :visibility_level, class: 'label-light' do #the label here seems wrong = f.label :visibility_level, class: 'label-light' do #the label here seems wrong
......
---
title: Fix stray OR in New Project page
merge_request: 14096
author: Robin Bobbitt
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment