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
32753600
Commit
32753600
authored
Oct 16, 2020
by
Russell Dickenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrated tooltip to new component
parent
24baf450
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
app/assets/javascripts/ide/components/ide_status_bar.vue
app/assets/javascripts/ide/components/ide_status_bar.vue
+5
-6
No files found.
app/assets/javascripts/ide/components/ide_status_bar.vue
View file @
32753600
<
script
>
/* eslint-disable @gitlab/vue-require-i18n-strings */
import
{
mapActions
,
mapState
,
mapGetters
}
from
'
vuex
'
;
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
import
{
GlIcon
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
IdeStatusList
from
'
./ide_status_list.vue
'
;
import
IdeStatusMr
from
'
./ide_status_mr.vue
'
;
import
tooltip
from
'
~/vue_shared/directives/tooltip
'
;
import
timeAgoMixin
from
'
~/vue_shared/mixins/timeago
'
;
import
CiIcon
from
'
../../vue_shared/components/ci_icon.vue
'
;
import
userAvatarImage
from
'
../../vue_shared/components/user_avatar/user_avatar_image.vue
'
;
...
...
@@ -19,7 +18,7 @@ export default {
IdeStatusMr
,
},
directives
:
{
tooltip
,
GlTooltip
:
GlTooltipDirective
,
},
mixins
:
[
timeAgoMixin
],
data
()
{
...
...
@@ -85,7 +84,7 @@ export default {
@
click=
"openRightPane($options.rightSidebarViews.pipelines)"
>
<ci-icon
v-tooltip
v-
gl-
tooltip
:status=
"latestPipeline.details.status"
:title=
"latestPipeline.details.status.text"
/>
...
...
@@ -99,7 +98,7 @@ export default {
<gl-icon
name=
"commit"
/>
<a
v-tooltip
v-
gl-
tooltip
:title=
"lastCommit.message"
:href=
"getCommitPath(lastCommit.short_id)"
class=
"commit-sha"
...
...
@@ -116,7 +115,7 @@ export default {
/>
{{
lastCommit
.
author_name
}}
<time
v-tooltip
v-
gl-
tooltip
:datetime=
"lastCommit.committed_date"
:title=
"tooltipTitle(lastCommit.committed_date)"
data-placement=
"top"
...
...
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