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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
878f870a
Commit
878f870a
authored
Jun 11, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Tooltip component in MrWidgetAuthorTime vue component
parent
a239936a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
app/assets/javascripts/vue_merge_request_widget/components/mr_widget_author_time.vue
...merge_request_widget/components/mr_widget_author_time.vue
+5
-2
No files found.
app/assets/javascripts/vue_merge_request_widget/components/mr_widget_author_time.vue
View file @
878f870a
<
script
>
<
script
>
import
tooltip
from
'
~/vue_shared/directives/tooltip
'
;
import
MrWidgetAuthor
from
'
./mr_widget_author.vue
'
;
import
MrWidgetAuthor
from
'
./mr_widget_author.vue
'
;
export
default
{
export
default
{
...
@@ -6,6 +7,9 @@
...
@@ -6,6 +7,9 @@
components
:
{
components
:
{
MrWidgetAuthor
,
MrWidgetAuthor
,
},
},
directives
:
{
tooltip
,
},
props
:
{
props
:
{
actionText
:
{
actionText
:
{
type
:
String
,
type
:
String
,
...
@@ -32,8 +36,7 @@
...
@@ -32,8 +36,7 @@
<mr-widget-author
:author=
"author"
/>
<mr-widget-author
:author=
"author"
/>
<time
<time
:title=
"dateTitle"
:title=
"dateTitle"
data-toggle=
"tooltip"
v-tooltip
data-placement=
"top"
data-container=
"body"
data-container=
"body"
>
>
{{
dateReadable
}}
{{
dateReadable
}}
...
...
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