Commit e30cac74 authored by Jacques Erasmus's avatar Jacques Erasmus

Merge branch '348829-add-tooltip-to-ellipsis' into 'master'

Tooltip added to ellipsis link in file repository

See merge request gitlab-org/gitlab!79253
parents 3cb03505 9a3d82ae
<script> <script>
import { GlLoadingIcon } from '@gitlab/ui'; import { GlLoadingIcon, GlTooltipDirective } from '@gitlab/ui';
export default { export default {
components: { components: {
GlLoadingIcon, GlLoadingIcon,
}, },
directives: {
GlTooltip: GlTooltipDirective,
},
props: { props: {
commitRef: { commitRef: {
type: String, type: String,
...@@ -41,7 +44,13 @@ export default { ...@@ -41,7 +44,13 @@ export default {
<template> <template>
<tr class="tree-item"> <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 <gl-loading-icon
v-if="parentPath === loadingPath" v-if="parentPath === loadingPath"
size="sm" size="sm"
......
...@@ -16632,6 +16632,9 @@ msgstr "" ...@@ -16632,6 +16632,9 @@ msgstr ""
msgid "Go to parent" msgid "Go to parent"
msgstr "" msgstr ""
msgid "Go to parent directory"
msgstr ""
msgid "Go to previous page" msgid "Go to previous page"
msgstr "" 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