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
813c9b2a
Commit
813c9b2a
authored
Dec 08, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make cross-project reference's clipboard target less naive
See !2023
parent
02cc978e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/projects/issues/_discussion.html.haml
app/views/projects/issues/_discussion.html.haml
+1
-1
app/views/projects/merge_requests/_discussion.html.haml
app/views/projects/merge_requests/_discussion.html.haml
+1
-1
No files found.
app/views/projects/issues/_discussion.html.haml
View file @
813c9b2a
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
.input-group.cross-project-reference
.input-group.cross-project-reference
%span
#cross-project-reference
.slead.has_tooltip
{
title:
'Cross-project reference'
}
%span
#cross-project-reference
.slead.has_tooltip
{
title:
'Cross-project reference'
}
=
cross_project_reference
(
@project
,
@issue
)
=
cross_project_reference
(
@project
,
@issue
)
=
clipboard_button
(
clipboard_target:
'#cross-project-reference'
)
=
clipboard_button
(
clipboard_target:
'
span
#cross-project-reference'
)
.row
.row
%section
.col-md-9
%section
.col-md-9
...
...
app/views/projects/merge_requests/_discussion.html.haml
View file @
813c9b2a
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
.input-group.cross-project-reference
.input-group.cross-project-reference
%span
#cross-project-reference
.slead.has_tooltip
{
title:
'Cross-project reference'
}
%span
#cross-project-reference
.slead.has_tooltip
{
title:
'Cross-project reference'
}
=
cross_project_reference
(
@project
,
@merge_request
)
=
cross_project_reference
(
@project
,
@merge_request
)
=
clipboard_button
(
clipboard_target:
'#cross-project-reference'
)
=
clipboard_button
(
clipboard_target:
'
span
#cross-project-reference'
)
.row
.row
%section
.col-md-9
%section
.col-md-9
...
...
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