Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
92c469c3
Commit
92c469c3
authored
Oct 29, 2020
by
Evan Read
Committed by
Ezekiel Kigbo
Oct 29, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate group item tooltip to new tooltip
parent
1946a989
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
app/assets/javascripts/groups/components/group_item.vue
app/assets/javascripts/groups/components/group_item.vue
+3
-5
No files found.
app/assets/javascripts/groups/components/group_item.vue
View file @
92c469c3
<
script
>
<
script
>
/* eslint-disable vue/no-v-html */
/* eslint-disable vue/no-v-html */
import
{
GlLoadingIcon
,
GlBadge
}
from
'
@gitlab/ui
'
;
import
{
GlLoadingIcon
,
GlBadge
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
visitUrl
}
from
'
../../lib/utils/url_utility
'
;
import
{
visitUrl
}
from
'
../../lib/utils/url_utility
'
;
import
tooltip
from
'
../../vue_shared/directives/tooltip
'
;
import
identicon
from
'
../../vue_shared/components/identicon.vue
'
;
import
identicon
from
'
../../vue_shared/components/identicon.vue
'
;
import
eventHub
from
'
../event_hub
'
;
import
eventHub
from
'
../event_hub
'
;
import
{
VISIBILITY_TYPE_ICON
,
GROUP_VISIBILITY_TYPE
}
from
'
../constants
'
;
import
{
VISIBILITY_TYPE_ICON
,
GROUP_VISIBILITY_TYPE
}
from
'
../constants
'
;
...
@@ -17,7 +16,7 @@ import { showLearnGitLabGroupItemPopover } from '~/onboarding_issues';
...
@@ -17,7 +16,7 @@ import { showLearnGitLabGroupItemPopover } from '~/onboarding_issues';
export
default
{
export
default
{
directives
:
{
directives
:
{
tooltip
,
GlTooltip
:
GlTooltipDirective
,
},
},
components
:
{
components
:
{
GlBadge
,
GlBadge
,
...
@@ -127,11 +126,10 @@ export default {
...
@@ -127,11 +126,10 @@ export default {
<div
class=
"group-text flex-grow-1 flex-shrink-1"
>
<div
class=
"group-text flex-grow-1 flex-shrink-1"
>
<div
class=
"d-flex align-items-center flex-wrap title namespace-title gl-mr-3"
>
<div
class=
"d-flex align-items-center flex-wrap title namespace-title gl-mr-3"
>
<a
<a
v-
tooltip
v-
gl-tooltip
.
bottom
:href=
"group.relativePath"
:href=
"group.relativePath"
:title=
"group.fullName"
:title=
"group.fullName"
class=
"no-expand gl-mt-3 gl-mr-3 gl-text-gray-900!"
class=
"no-expand gl-mt-3 gl-mr-3 gl-text-gray-900!"
data-placement=
"bottom"
>
{{
>
{{
// ending bracket must be by closing tag to prevent
// ending bracket must be by closing tag to prevent
// link hover text-decoration from over-extending
// link hover text-decoration from over-extending
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment