Commit 9a3d82ae authored by Anshul Riyal's avatar Anshul Riyal

Tooltip added to ellipsis link in file repository

Tooltip i.e. “Go to parent directory” is added to the ellipsis link in
file repository.

Changelog: added
See merge request https://gitlab.com/gitlab-org/gitlab/merge_requests/79253
parent b1793f73
<script>
import { GlLoadingIcon } from '@gitlab/ui';
import { GlLoadingIcon, GlTooltipDirective } from '@gitlab/ui';
export default {
components: {
GlLoadingIcon,
},
directives: {
GlTooltip: GlTooltipDirective,
},
props: {
commitRef: {
type: String,
......@@ -41,7 +44,13 @@ export default {
<template>
<tr class="tree-item">
<td colspan="3" class="tree-item-file-name" @click.self="clickRow">
<td
v-gl-tooltip.left.viewport
:title="__('Go to parent directory')"
colspan="3"
class="tree-item-file-name"
@click.self="clickRow"
>
<gl-loading-icon
v-if="parentPath === loadingPath"
size="sm"
......
......@@ -16571,6 +16571,9 @@ msgstr ""
msgid "Go to parent"
msgstr ""
msgid "Go to parent directory"
msgstr ""
msgid "Go to previous page"
msgstr ""
......
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