Commit 0d6b429b authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch 'btn-confirm-admin-hooks' into 'master'

Move to btn-confirm from btn-success in admin/hooks directory

See merge request gitlab-org/gitlab!55272
parents 111fdf24 388c961e
......@@ -9,7 +9,7 @@
= form_for @hook, as: :hook, url: admin_hook_path do |f|
= render partial: 'form', locals: { form: f, hook: @hook }
.form-actions
%span>= f.submit _('Save changes'), class: 'btn gl-button btn-success gl-mr-3'
%span>= f.submit _('Save changes'), class: 'btn gl-button btn-confirm gl-mr-3'
= render 'shared/web_hooks/test_button', hook: @hook
= link_to _('Delete'), admin_hook_path(@hook), method: :delete, class: 'btn gl-button btn-danger float-right', data: { confirm: _('Are you sure?') }
......
......@@ -7,7 +7,7 @@
.col-lg-8.gl-mb-3
= form_for @hook, as: :hook, url: admin_hooks_path do |f|
= render partial: 'form', locals: { form: f, hook: @hook }
= f.submit _('Add system hook'), class: 'btn gl-button btn-success'
= f.submit _('Add system hook'), class: 'btn gl-button btn-confirm'
= render 'shared/web_hooks/index', hooks: @hooks, hook_class: @hook.class
......
---
title: Move to btn-confirm from btn-success in admin/hooks directory
merge_request: 55272
author: Yogi (@yo)
type: changed
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