Adds verfication for the cookie
This commit is contained in:
parent
354df65295
commit
583f835e9a
|
@ -385,8 +385,6 @@ import initChangesDropdown from './init_changes_dropdown';
|
|||
parentEl: '.pipelines-tabs',
|
||||
},
|
||||
});
|
||||
|
||||
new UserCallout();
|
||||
break;
|
||||
case 'groups:activity':
|
||||
new gl.Activities();
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
|
||||
- if @project.merge_requests.exists?
|
||||
%div{ class: container_class }
|
||||
-# TODO add verfication
|
||||
= render 'shared/auto_devops_callout'
|
||||
-if show_callout?('auto_devops_settings_dismissed')
|
||||
= render 'shared/auto_devops_callout'
|
||||
.top-area
|
||||
= render 'shared/issuable/nav', type: :merge_requests
|
||||
.nav-controls{ class: ("visible-xs" if show_new_nav?) }
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
= render "projects/pipelines/head"
|
||||
|
||||
%div{ 'class' => container_class }
|
||||
-# TODO add verfication
|
||||
= render 'shared/auto_devops_callout'
|
||||
-if show_callout?('auto_devops_settings_dismissed')
|
||||
= render 'shared/auto_devops_callout'
|
||||
|
||||
#pipelines-list-vue{ data: { endpoint: project_pipelines_path(@project, format: :json),
|
||||
"help-page-path" => help_page_path('ci/quick_start/README'),
|
||||
|
|
|
@ -81,8 +81,8 @@
|
|||
|
||||
- view_path = default_project_view
|
||||
|
||||
-# TODO add verfication
|
||||
= render 'shared/auto_devops_callout'
|
||||
-if show_callout?('auto_devops_settings_dismissed')
|
||||
= render 'shared/auto_devops_callout'
|
||||
|
||||
%div{ class: project_child_container_class(view_path) }
|
||||
= render view_path
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
= render "projects/commits/head"
|
||||
|
||||
%div{ class: [container_class, ("limit-container-width" unless fluid_layout)] }
|
||||
-# TODO add verfication
|
||||
= render 'shared/auto_devops_callout'
|
||||
-if show_callout?('auto_devops_settings_dismissed')
|
||||
= render 'shared/auto_devops_callout'
|
||||
= render 'projects/last_push'
|
||||
= render 'projects/files', commit: @last_commit, project: @project, ref: @ref, content_url: project_tree_path(@project, @id)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.user-callout{ data: { uid: 'TODO' } }
|
||||
.user-callout{ data: { uid: 'auto_devops_settings_dismissed' } }
|
||||
.bordered-box.landing.content-block
|
||||
%button.btn.btn-default.close.js-close-callout{ type: 'button',
|
||||
'aria-label' => 'Dismiss Auto Dev Ops box' }
|
||||
|
|
Loading…
Reference in New Issue