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
65535829
Commit
65535829
authored
Apr 20, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix resolve discussion tooltip
parent
766b0e7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
app/assets/javascripts/main.js
app/assets/javascripts/main.js
+2
-1
app/views/discussions/_notes.html.haml
app/views/discussions/_notes.html.haml
+1
-1
No files found.
app/assets/javascripts/main.js
View file @
65535829
...
@@ -136,7 +136,8 @@ document.addEventListener('DOMContentLoaded', () => {
...
@@ -136,7 +136,8 @@ document.addEventListener('DOMContentLoaded', () => {
});
});
// Initialize tooltips
// Initialize tooltips
$
(
'
.has-tooltip, [data-toggle="tooltip"]
'
).
tooltip
({
$body
.
tooltip
({
selector
:
'
.has-tooltip, [data-toggle="tooltip"]
'
,
placement
(
tip
,
el
)
{
placement
(
tip
,
el
)
{
return
$
(
el
).
data
(
'
placement
'
)
||
'
bottom
'
;
return
$
(
el
).
data
(
'
placement
'
)
||
'
bottom
'
;
},
},
...
...
app/views/discussions/_notes.html.haml
View file @
65535829
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
-
if
discussion
.
potentially_resolvable?
-
if
discussion
.
potentially_resolvable?
-
line_type
=
local_assigns
.
fetch
(
:line_type
,
nil
)
-
line_type
=
local_assigns
.
fetch
(
:line_type
,
nil
)
.btn-group.d
-flex.d
iscussion-with-resolve-btn
{
role:
"group"
}
.btn-group.discussion-with-resolve-btn
{
role:
"group"
}
.btn-group
{
role:
"group"
}
.btn-group
{
role:
"group"
}
=
link_to_reply_discussion
(
discussion
,
line_type
)
=
link_to_reply_discussion
(
discussion
,
line_type
)
...
...
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