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
c99d7d33
Commit
c99d7d33
authored
Nov 25, 2016
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🔨
Fix tooltip in Geo Info button
parent
7a50403c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
app/assets/javascripts/geo_clone_dialog.js.es6
app/assets/javascripts/geo_clone_dialog.js.es6
+7
-4
app/helpers/button_helper.rb
app/helpers/button_helper.rb
+2
-2
No files found.
app/assets/javascripts/geo_clone_dialog.js.es6
View file @
c99d7d33
...
...
@@ -42,9 +42,12 @@
});
document.addEventListener('DOMContentLoaded', () => {
const geoClone = document.getElementById('geo_clone');
if (geoClone) {
gl.GeoCloneDialog = new Vue({
el: '#geo_clone',
data: Object.assign({}, document.getElementById('geo_clone')
.dataset),
data: Object.assign({}, geoClone
.dataset),
});
}
});
})(window.gl || (window.gl = {}));
app/helpers/button_helper.rb
View file @
c99d7d33
...
...
@@ -75,10 +75,10 @@ module ButtonHelper
end
def
geo_button
(
modal_target:
nil
)
data
=
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
,
toggle:
'modal'
,
target:
modal_target
}
data
=
{
placement:
'bottom'
,
container:
'body'
,
toggle:
'modal'
,
target:
modal_target
}
content_tag
:button
,
icon
(
'globe'
),
class:
'btn btn-geo'
,
class:
'btn btn-geo
has-tooltip
'
,
data:
data
,
type: :button
,
title:
'See Geo-specific instructions'
...
...
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