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
60aedb46
Commit
60aedb46
authored
Jan 07, 2016
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adds reference to the bottom of sidebar
parent
90510f00
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
10 deletions
+19
-10
app/assets/stylesheets/pages/issuable.scss
app/assets/stylesheets/pages/issuable.scss
+9
-1
app/views/shared/issuable/_sidebar.html.haml
app/views/shared/issuable/_sidebar.html.haml
+10
-9
No files found.
app/assets/stylesheets/pages/issuable.scss
View file @
60aedb46
...
@@ -94,9 +94,17 @@
...
@@ -94,9 +94,17 @@
}
}
.cross-project-reference
{
.cross-project-reference
{
font-weight
:
bold
;
color
:
$gl-link-color
;
color
:
$gl-link-color
;
span
{
white-space
:
nowrap
;
width
:
80%
;
overflow
:
hidden
;
position
:
relative
;
display
:
inline-block
;
text-overflow
:
ellipsis
;
}
button
{
button
{
float
:
right
;
float
:
right
;
}
}
...
...
app/views/shared/issuable/_sidebar.html.haml
View file @
60aedb46
...
@@ -54,14 +54,6 @@
...
@@ -54,14 +54,6 @@
=
f
.
collection_select
:label_ids
,
issuable
.
project
.
labels
.
all
,
:id
,
:name
,
=
f
.
collection_select
:label_ids
,
issuable
.
project
.
labels
.
all
,
:id
,
:name
,
{
selected:
issuable
.
label_ids
},
multiple:
true
,
class:
'select2 js-select2'
,
data:
{
placeholder:
"Select labels"
}
{
selected:
issuable
.
label_ids
},
multiple:
true
,
class:
'select2 js-select2'
,
data:
{
placeholder:
"Select labels"
}
.block
.title
Cross-project reference
.cross-project-reference
%span
#cross-project-reference
=
cross_project_reference
(
@project
,
issuable
)
=
clipboard_button
(
clipboard_target:
'span#cross-project-reference'
)
=
render
"shared/issuable/participants"
,
participants:
issuable
.
participants
(
current_user
)
=
render
"shared/issuable/participants"
,
participants:
issuable
.
participants
(
current_user
)
-
if
current_user
-
if
current_user
...
@@ -77,6 +69,15 @@
...
@@ -77,6 +69,15 @@
You're not receiving notifications from this thread.
You're not receiving notifications from this thread.
.subscribed
{
class:
(
'hidden'
unless
subscribed
)}
.subscribed
{
class:
(
'hidden'
unless
subscribed
)}
You're receiving notifications because you're subscribed to this thread.
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
References:
%a
{
href:
'#'
,
title
:project_ref
}
=
project_ref
=
clipboard_button
(
clipboard_target:
'span#cross-project-reference'
)
:javascript
:javascript
new
Subscription
(
"
#{
toggle_subscription_path
(
issuable
)
}
"
);
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