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
Boxiang Sun
gitlab-ce
Commits
f2521567
Commit
f2521567
authored
Nov 15, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add `hover` on button tooltips
See
https://gitlab.com/gitlab-org/gitlab-ui/issues/89
parent
0642404b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
app/assets/javascripts/badges/components/badge.vue
app/assets/javascripts/badges/components/badge.vue
+2
-3
app/assets/javascripts/diffs/components/compare_versions.vue
app/assets/javascripts/diffs/components/compare_versions.vue
+2
-2
app/assets/javascripts/diffs/components/diff_file_header.vue
app/assets/javascripts/diffs/components/diff_file_header.vue
+0
-1
No files found.
app/assets/javascripts/badges/components/badge.vue
View file @
f2521567
<
script
>
<
script
>
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
Tooltip
from
'
~/vue_shared/directives/tooltip
'
;
import
{
GlLoadingIcon
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
GlLoadingIcon
,
GlTooltipDirective
}
from
'
@gitlab-org/gitlab-ui
'
;
export
default
{
export
default
{
name
:
'
Badge
'
,
name
:
'
Badge
'
,
...
@@ -92,7 +91,7 @@ export default {
...
@@ -92,7 +91,7 @@ export default {
<button
<button
v-show=
"hasError"
v-show=
"hasError"
v-gl-tooltip
v-gl-tooltip
.
hover
:title=
"s__('Badges|Reload badge image')"
:title=
"s__('Badges|Reload badge image')"
class=
"btn btn-transparent btn-sm text-primary"
class=
"btn btn-transparent btn-sm text-primary"
type=
"button"
type=
"button"
...
...
app/assets/javascripts/diffs/components/compare_versions.vue
View file @
f2521567
<
script
>
<
script
>
import
{
mapActions
,
mapGetters
,
mapState
}
from
'
vuex
'
;
import
{
mapActions
,
mapGetters
,
mapState
}
from
'
vuex
'
;
import
{
GlTooltipDirective
}
from
'
@gitlab
-org/gitlab-
ui
'
;
import
{
GlTooltipDirective
}
from
'
@gitlab
/
ui
'
;
import
{
__
}
from
'
~/locale
'
;
import
{
__
}
from
'
~/locale
'
;
import
{
getParameterValues
,
mergeUrlParams
}
from
'
~/lib/utils/url_utility
'
;
import
{
getParameterValues
,
mergeUrlParams
}
from
'
~/lib/utils/url_utility
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
...
@@ -75,7 +75,7 @@ export default {
...
@@ -75,7 +75,7 @@ export default {
<div
class=
"mr-version-controls"
>
<div
class=
"mr-version-controls"
>
<div
class=
"mr-version-menus-container content-block"
>
<div
class=
"mr-version-menus-container content-block"
>
<button
<button
v-gl-tooltip
v-gl-tooltip
.
hover
type=
"button"
type=
"button"
class=
"btn btn-default append-right-8 js-toggle-tree-list"
class=
"btn btn-default append-right-8 js-toggle-tree-list"
:class=
"
{
:class=
"
{
...
...
app/assets/javascripts/diffs/components/diff_file_header.vue
View file @
f2521567
...
@@ -171,7 +171,6 @@ export default {
...
@@ -171,7 +171,6 @@ export default {
v-gl-tooltip
v-gl-tooltip
:title=
"diffFile.new_path"
:title=
"diffFile.new_path"
class=
"file-title-name"
class=
"file-title-name"
v-html=
"diffFile.new_path_html"
v-html=
"diffFile.new_path_html"
></strong>
></strong>
</span>
</span>
...
...
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