Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-09-01 14:18:00 +0300
committerFilipa Lacerda <filipa@gitlab.com>2017-09-01 14:56:47 +0300
commit354df65295028ac09ed7e4a924e39ff567b38a4b (patch)
tree07ec147976026a1983986b048c93cd31ee21ca32 /app/views/shared/_auto_devops_callout.html.haml
parentdf3d4764034bdad9f6151ab8808b71e1e5088d9c (diff)
Creates auto devops callout
Diffstat (limited to 'app/views/shared/_auto_devops_callout.html.haml')
-rw-r--r--app/views/shared/_auto_devops_callout.html.haml17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/shared/_auto_devops_callout.html.haml b/app/views/shared/_auto_devops_callout.html.haml
new file mode 100644
index 00000000000..010329e3f32
--- /dev/null
+++ b/app/views/shared/_auto_devops_callout.html.haml
@@ -0,0 +1,17 @@
+.user-callout{ data: { uid: 'TODO' } }
+ .bordered-box.landing.content-block
+ %button.btn.btn-default.close.js-close-callout{ type: 'button',
+ 'aria-label' => 'Dismiss Auto Dev Ops box' }
+ = icon('times', class: 'dismiss-icon', 'aria-hidden' => 'true')
+ .svg-container
+ = custom_icon('icon_autodevops')
+ .user-callout-copy
+ %h4
+ Auto Dev Ops (Beta)
+ %p
+ Automated Dev Ops can be activated for this project. It will automatically run tests on your code based on a predefined set of rules.
+ %p
+ Learn more in the
+ = link_to 'Auto Dev Ops documentation', help_page_path('topics/autodevops/index.md'), target: '_blank', rel: 'noopener noreferrer'
+
+ = link_to 'Enable in settings', project_settings_ci_cd_path(@project), class: 'btn btn-primary js-close-callout'