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
c09f8bea
Commit
c09f8bea
authored
Jan 28, 2021
by
Yogi
Committed by
Miguel Rincon
Jan 28, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply GitLab UI button styles to buttons in ee/app/views/users directory
parent
e1c35852
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
changelogs/unreleased/231083-yo-gitlab-ui.yml
changelogs/unreleased/231083-yo-gitlab-ui.yml
+5
-0
ee/app/views/users/_custom_project_templates.html.haml
ee/app/views/users/_custom_project_templates.html.haml
+2
-2
ee/app/views/users/_custom_project_templates_from_groups.html.haml
...ews/users/_custom_project_templates_from_groups.html.haml
+2
-2
No files found.
changelogs/unreleased/231083-yo-gitlab-ui.yml
0 → 100644
View file @
c09f8bea
---
title
:
Apply GitLab UI button styles to buttons in ee/app/views/users directory
merge_request
:
51783
author
:
Yogi (@yo)
type
:
other
ee/app/views/users/_custom_project_templates.html.haml
View file @
c09f8bea
...
@@ -11,9 +11,9 @@
...
@@ -11,9 +11,9 @@
.text-muted
.text-muted
=
template
.
description
=
template
.
description
.controls.d-flex.align-items-baseline
.controls.d-flex.align-items-baseline
%a
.btn.btn-default.gl-mr-3
{
href:
project_path
(
template
),
rel:
'noopener noreferrer'
,
target:
'_blank'
}
%a
.btn.
gl-button.
btn-default.gl-mr-3
{
href:
project_path
(
template
),
rel:
'noopener noreferrer'
,
target:
'_blank'
}
=
_
(
'Preview'
)
=
_
(
'Preview'
)
%label
.btn.btn-success.custom-template-button.choose-template.gl-mb-0
{
for:
template
.
name
}
%label
.btn.
gl-button.
btn-success.custom-template-button.choose-template.gl-mb-0
{
for:
template
.
name
}
%input
{
type:
"radio"
,
autocomplete:
"off"
,
name:
"project[template_project_id]"
,
id:
template
.
name
,
value:
template
.
id
,
data:
{
template_name:
template
.
name
}
}
%input
{
type:
"radio"
,
autocomplete:
"off"
,
name:
"project[template_project_id]"
,
id:
template
.
name
,
value:
template
.
id
,
data:
{
template_name:
template
.
name
}
}
%span
{
data:
{
qa_selector:
'use_template_button'
}
}
%span
{
data:
{
qa_selector:
'use_template_button'
}
}
=
_
(
'Use template'
)
=
_
(
'Use template'
)
...
...
ee/app/views/users/_custom_project_templates_from_groups.html.haml
View file @
c09f8bea
...
@@ -31,9 +31,9 @@
...
@@ -31,9 +31,9 @@
.text-muted
.text-muted
=
project
.
description
=
project
.
description
.controls.d-flex.align-items-baseline
.controls.d-flex.align-items-baseline
%a
.btn.btn-default.gl-mr-3
{
href:
project_path
(
project
),
rel:
'noopener noreferrer'
,
target:
'_blank'
}
%a
.btn.
gl-button.
btn-default.gl-mr-3
{
href:
project_path
(
project
),
rel:
'noopener noreferrer'
,
target:
'_blank'
}
=
_
(
'Preview'
)
=
_
(
'Preview'
)
%label
.btn.btn-success.custom-template-button.choose-template.gl-mb-0
{
for:
project
.
name
}
%label
.btn.
gl-button.
btn-success.custom-template-button.choose-template.gl-mb-0
{
for:
project
.
name
}
%input
{
type:
"radio"
,
autocomplete:
"off"
,
name:
"project[template_project_id]"
,
id:
project
.
name
,
value:
project
.
id
,
data:
{
subgroup_id:
project
.
namespace_id
,
template_name:
project
.
name
,
parent_group_id:
namespace_id
||
group
.
parent_id
}
}
%input
{
type:
"radio"
,
autocomplete:
"off"
,
name:
"project[template_project_id]"
,
id:
project
.
name
,
value:
project
.
id
,
data:
{
subgroup_id:
project
.
namespace_id
,
template_name:
project
.
name
,
parent_group_id:
namespace_id
||
group
.
parent_id
}
}
%span
.qa-use-template-button
%span
.qa-use-template-button
=
_
(
'Use template'
)
=
_
(
'Use template'
)
...
...
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