Commit 5a4db706 authored by Miguel Rincon's avatar Miguel Rincon

Merge branch 'private-group-btn' into 'master'

Migrating old icon button in Approval Rules to GlIcon

Closes #219869

See merge request gitlab-org/gitlab!39769
parents e77d0d12 1c257ff7
---
title: Migration of old icon button to component button in Approval Rules (private groups)
merge_request: 39769
author:
type: changed
<script> <script>
import { GlTooltipDirective, GlDeprecatedButton } from '@gitlab/ui'; import { GlTooltipDirective, GlIcon } from '@gitlab/ui';
import Icon from '~/vue_shared/components/icon.vue';
export default { export default {
components: { components: {
GlDeprecatedButton, GlIcon,
Icon,
}, },
directives: { directives: {
GlTooltip: GlTooltipDirective, GlTooltip: GlTooltipDirective,
...@@ -16,16 +14,15 @@ export default { ...@@ -16,16 +14,15 @@ export default {
<template> <template>
<div class="d-flex align-items-center"> <div class="d-flex align-items-center">
<div class="square s24 d-flex-center mr-2 text-tertiary"> <div class="square s24 d-flex-center mr-2 text-tertiary">
<icon name="folder-o" :size="16" /> <gl-icon name="folder-o" :size="16" />
</div> </div>
<span>{{ __('Private group(s)') }}</span> <span>{{ __('Private group(s)') }}</span>
<gl-deprecated-button <gl-icon
v-gl-tooltip v-gl-tooltip
:title="__('One or more groups that you don\'t have access to.')" :title="__('One or more groups that you don\'t have access to.')"
variant="blank" class="ml-1 gl-text-gray-500"
class="ml-1 text-secondary" name="question-o"
> :size="16"
<icon name="question-o" :size="16" /> />
</gl-deprecated-button>
</div> </div>
</template> </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