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
f3ff2b05
Commit
f3ff2b05
authored
Nov 23, 2020
by
Savas Vedova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add gl-button to haml button
parent
85332ae2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ee/app/views/admin/application_settings/_seat_link_form.html.haml
...iews/admin/application_settings/_seat_link_form.html.haml
+1
-1
No files found.
ee/app/views/admin/application_settings/_seat_link_form.html.haml
View file @
f3ff2b05
...
...
@@ -18,7 +18,7 @@
-
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.js-payload-preview-trigger
{
type:
'button'
,
data:
{
payload_selector:
".#{payload_class}"
}
}
%button
.btn.
gl-button.
js-payload-preview-trigger
{
type:
'button'
,
data:
{
payload_selector:
".#{payload_class}"
}
}
.spinner.js-spinner.d-none
.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
)
}
}
...
...
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