Commit 670a89cd authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '299494-add-tooltips-to-requirement-import-and-export' into 'master'

Add tooltips to requirement import and export buttons

See merge request gitlab-org/gitlab!52582
parents 7ce7f789 b85164c6
---
title: Add tooltips to requirement import and export buttons
merge_request: 52582
author: Kev @KevSlashNull
type: fixed
<script>
import { GlBadge, GlButton, GlButtonGroup, GlTabs, GlTab } from '@gitlab/ui';
import { GlBadge, GlButton, GlButtonGroup, GlTabs, GlTab, GlTooltipDirective } from '@gitlab/ui';
import { FilterState } from '../constants';
export default {
directives: {
GlTooltip: GlTooltipDirective,
},
FilterState,
components: {
GlBadge,
......@@ -89,6 +92,8 @@ export default {
<gl-button-group>
<gl-button
v-if="showUploadCsv"
v-gl-tooltip
:title="__('Export as CSV')"
category="secondary"
:disabled="showCreateForm"
icon="export"
......@@ -96,6 +101,8 @@ export default {
/>
<gl-button
v-if="showUploadCsv"
v-gl-tooltip
:title="__('Import requirements')"
category="secondary"
class="js-import-requirements qa-import-requirements-button"
:disabled="showCreateForm"
......
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