Commit 583f835e authored by Filipa Lacerda's avatar Filipa Lacerda

Adds verfication for the cookie

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