diff options
Diffstat (limited to 'app/views/projects/pages/new.html.haml')
-rw-r--r-- | app/views/projects/pages/new.html.haml | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/app/views/projects/pages/new.html.haml b/app/views/projects/pages/new.html.haml index f1f3510d0f8..b9d2af9cf19 100644 --- a/app/views/projects/pages/new.html.haml +++ b/app/views/projects/pages/new.html.haml @@ -1,8 +1,14 @@ -%section.js-search-settings-section - - if Feature.enabled?(:use_pipeline_wizard_for_pages, @project.group) - #js-pages{ data: @pipeline_wizard_data } +- if Feature.enabled?(:show_pages_in_deployments_menu, current_user, type: :experiment) + - @breadcrumb_link = project_pages_path(@project) + - breadcrumb_title s_('GitLabPages|Pages') + - page_title s_('GitLabPages|Pages') +- else + %section.js-search-settings-section - - else - = render 'header' +- if Feature.enabled?(:use_pipeline_wizard_for_pages, @project.group) + #js-pages{ data: @pipeline_wizard_data } - = render 'use' +- else + = render 'header' + + = render 'use' |