Commit af00afd6 authored by Miguel Rincon's avatar Miguel Rincon

Merge branch '231083-yo-gitlab-ui' into 'master'

Apply GitLab UI button styles to buttons in ee/app/views/users directory

See merge request gitlab-org/gitlab!51783
parents 6100ba7f c09f8bea
---
title: Apply GitLab UI button styles to buttons in ee/app/views/users directory
merge_request: 51783
author: Yogi (@yo)
type: other
......@@ -11,9 +11,9 @@
.text-muted
= template.description
.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')
%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 } }
%span{ data: { qa_selector: 'use_template_button' } }
= _('Use template')
......
......@@ -31,9 +31,9 @@
.text-muted
= project.description
.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')
%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 } }
%span.qa-use-template-button
= _('Use template')
......
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