Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
db25f1ce
Commit
db25f1ce
authored
Feb 05, 2021
by
Yogi
Committed by
Andrew Fontaine
Feb 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use GitLab UI buttons in Slack Application Service
Add Changelog Update 231173-gl-button.yml
parent
3c8f7bf4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
changelogs/unreleased/231173-gl-button.yml
changelogs/unreleased/231173-gl-button.yml
+5
-0
ee/app/views/projects/services/gitlab_slack_application/_slack_integration_form.html.haml
...itlab_slack_application/_slack_integration_form.html.haml
+2
-2
No files found.
changelogs/unreleased/231173-gl-button.yml
0 → 100644
View file @
db25f1ce
---
title
:
Apply GitLab UI button styles to buttons in gitlab_slack_application file
merge_request
:
53478
author
:
Yogi (@yo)
type
:
other
ee/app/views/projects/services/gitlab_slack_application/_slack_integration_form.html.haml
View file @
db25f1ce
...
...
@@ -23,8 +23,8 @@
%td
.controls
-
project
=
@service
.
project
=
link_to
'Edit'
,
edit_project_settings_slack_path
(
project
),
class:
'btn 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
'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
gl-button
btn-danger btn-sm'
,
data:
{
confirm:
'Are you sure?'
}
-
else
%p
To set up this service press "Add to Slack"
=
render
"projects/services/
#{
@service
.
to_param
}
/slack_button"
,
project:
@project
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment