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';
parentEl: '.pipelines-tabs',
},
});
new UserCallout();
break;
case 'groups:activity':
new gl.Activities();
......
......@@ -20,7 +20,7 @@
- if @project.merge_requests.exists?
%div{ class: container_class }
-# TODO add verfication
-if show_callout?('auto_devops_settings_dismissed')
= render 'shared/auto_devops_callout'
.top-area
= render 'shared/issuable/nav', type: :merge_requests
......
......@@ -3,7 +3,7 @@
= render "projects/pipelines/head"
%div{ 'class' => container_class }
-# TODO add verfication
-if show_callout?('auto_devops_settings_dismissed')
= render 'shared/auto_devops_callout'
#pipelines-list-vue{ data: { endpoint: project_pipelines_path(@project, format: :json),
......
......@@ -81,7 +81,7 @@
- view_path = default_project_view
-# TODO add verfication
-if show_callout?('auto_devops_settings_dismissed')
= render 'shared/auto_devops_callout'
%div{ class: project_child_container_class(view_path) }
......
......@@ -14,7 +14,7 @@
= render "projects/commits/head"
%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 'projects/last_push'
= 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
%button.btn.btn-default.close.js-close-callout{ type: 'button',
'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