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
Tatuya Kamada
gitlab-ce
Commits
481431b7
Commit
481431b7
authored
Jan 13, 2016
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cross-project reference clipboard text
See
https://gitlab.com/gitlab-org/gitlab-ce/issues/4183
parent
0e344aa2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
app/assets/stylesheets/pages/issuable.scss
app/assets/stylesheets/pages/issuable.scss
+5
-1
app/views/shared/issuable/_sidebar.html.haml
app/views/shared/issuable/_sidebar.html.haml
+4
-3
No files found.
app/assets/stylesheets/pages/issuable.scss
View file @
481431b7
...
...
@@ -95,7 +95,7 @@
.cross-project-reference
{
color
:
$gl-link-color
;
span
{
white-space
:
nowrap
;
width
:
85%
;
...
...
@@ -105,6 +105,10 @@
text-overflow
:
ellipsis
;
}
cite
{
font-style
:
normal
;
}
button
{
float
:
right
;
}
...
...
app/views/shared/issuable/_sidebar.html.haml
View file @
481431b7
...
...
@@ -69,15 +69,16 @@
You're not receiving notifications from this thread.
.subscribed
{
class:
(
'hidden'
unless
subscribed
)}
You're receiving notifications because you're subscribed to this thread.
-
project_ref
=
cross_project_reference
(
@project
,
issuable
)
.block
.title
.cross-project-reference
%span
#cross-project-reference
%span
Reference:
%
a
{
href:
'#'
,
title
:
project_ref
}
%
cite
{
title:
project_ref
}
=
project_ref
=
clipboard_button
(
clipboard_t
arget:
'span#cross-project-reference'
)
=
clipboard_button
(
clipboard_t
ext:
project_ref
)
:javascript
new
Subscription
(
"
#{
toggle_subscription_path
(
issuable
)
}
"
);
...
...
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