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
c986e83b
Commit
c986e83b
authored
Apr 28, 2021
by
Yogi
Committed by
Savas Vedova
Apr 28, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add btn-default class in seat link payload button
parent
248070c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
changelogs/unreleased/btn-default-seat-link-payload-btn.yml
changelogs/unreleased/btn-default-seat-link-payload-btn.yml
+5
-0
ee/app/views/admin/application_settings/_seat_link_form.html.haml
...iews/admin/application_settings/_seat_link_form.html.haml
+2
-2
No files found.
changelogs/unreleased/btn-default-seat-link-payload-btn.yml
0 → 100644
View file @
c986e83b
---
title
:
Add btn-default class in seat link payload button
merge_request
:
59459
author
:
Yogi (@yo)
type
:
changed
ee/app/views/admin/application_settings/_seat_link_form.html.haml
View file @
c986e83b
...
...
@@ -18,8 +18,8 @@
-
link_start
=
'<a href="%{url}" target="_blank" rel="noopener noreferrer">'
.
html_safe
%
{
url:
link_path
}
%p
.mb-2
=
s_
(
'%{link_start}Learn more%{link_end} about what information is shared with GitLab Inc.'
).
html_safe
%
{
link_start:
link_start
,
link_end:
'</a>'
.
html_safe
}
%button
.btn.gl-button.js-payload-preview-trigger
{
type:
'button'
,
data:
{
payload_selector:
".#{payload_class}"
}
}
.spinner.js-spinner.
d-none
%button
.btn.gl-button.
btn-default.
js-payload-preview-trigger
{
type:
'button'
,
data:
{
payload_selector:
".#{payload_class}"
}
}
.spinner.js-spinner.
gl-display-none.gl-mr-2
.js-text.d-inline
=
_
(
'Preview payload'
)
%pre
.usage-data.js-syntax-highlight.code.highlight.mt-2.d-none
{
class:
payload_class
,
data:
{
endpoint:
seat_link_payload_admin_application_settings_path
(
format: :html
)
}
}
-
else
...
...
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