Commit db25f1ce authored by Yogi's avatar Yogi Committed by Andrew Fontaine

Use GitLab UI buttons in Slack Application Service

Add Changelog

Update 231173-gl-button.yml
parent 3c8f7bf4
---
title: Apply GitLab UI button styles to buttons in gitlab_slack_application file
merge_request: 53478
author: Yogi (@yo)
type: other
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
%td %td
.controls .controls
- project = @service.project - project = @service.project
= link_to 'Edit', edit_project_settings_slack_path(project), class: 'btn btn-sm' = link_to 'Edit', edit_project_settings_slack_path(project), class: 'btn gl-button btn-default btn-sm'
= link_to 'Remove', project_settings_slack_path(project), method: :delete, class: 'btn btn-danger btn-sm', data: { confirm: 'Are you sure?' } = link_to 'Remove', project_settings_slack_path(project), method: :delete, class: 'btn gl-button btn-danger btn-sm', data: { confirm: 'Are you sure?' }
- else - else
%p To set up this service press "Add to Slack" %p To set up this service press "Add to Slack"
= render "projects/services/#{@service.to_param}/slack_button", project: @project = render "projects/services/#{@service.to_param}/slack_button", project: @project
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