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
7b69580e
Commit
7b69580e
authored
Feb 15, 2017
by
Simon Knox
Committed by
Alfredo Sumaran
Feb 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style links on system notes to look clickable
parent
5ad1d40c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
10 deletions
+3
-10
app/assets/javascripts/notes.js
app/assets/javascripts/notes.js
+1
-0
app/assets/stylesheets/pages/notes.scss
app/assets/stylesheets/pages/notes.scss
+1
-10
app/views/projects/notes/_note.html.haml
app/views/projects/notes/_note.html.haml
+1
-0
No files found.
app/assets/javascripts/notes.js
View file @
7b69580e
...
@@ -926,6 +926,7 @@ require('vendor/task_list');
...
@@ -926,6 +926,7 @@ require('vendor/task_list');
const
$element
=
$
(
e
.
target
);
const
$element
=
$
(
e
.
target
);
const
$closestSystemCommitList
=
$element
.
siblings
(
'
.system-note-commit-list
'
);
const
$closestSystemCommitList
=
$element
.
siblings
(
'
.system-note-commit-list
'
);
$element
.
find
(
'
.fa
'
).
toggleClass
(
'
fa-angle-down
'
).
toggleClass
(
'
fa-angle-up
'
);
$closestSystemCommitList
.
toggleClass
(
'
hide-shade
'
);
$closestSystemCommitList
.
toggleClass
(
'
hide-shade
'
);
};
};
...
...
app/assets/stylesheets/pages/notes.scss
View file @
7b69580e
...
@@ -72,6 +72,7 @@ ul.notes {
...
@@ -72,6 +72,7 @@ ul.notes {
overflow
:
hidden
;
overflow
:
hidden
;
.system-note-commit-list-toggler
{
.system-note-commit-list-toggler
{
color
:
$gl-link-color
;
display
:
none
;
display
:
none
;
padding
:
10px
0
0
;
padding
:
10px
0
0
;
cursor
:
pointer
;
cursor
:
pointer
;
...
@@ -107,16 +108,6 @@ ul.notes {
...
@@ -107,16 +108,6 @@ ul.notes {
display
:
none
;
display
:
none
;
}
}
p
:last-child
{
a
{
color
:
$gl-text-color
;
&
:hover
{
color
:
$gl-link-color
;
}
}
}
&
:
:
after
{
&
:
:
after
{
content
:
''
;
content
:
''
;
width
:
100%
;
width
:
100%
;
...
...
app/views/projects/notes/_note.html.haml
View file @
7b69580e
...
@@ -77,6 +77,7 @@
...
@@ -77,6 +77,7 @@
-
if
note
.
system
-
if
note
.
system
.system-note-commit-list-toggler
.system-note-commit-list-toggler
Toggle commit list
Toggle commit list
%i
.fa.fa-angle-down
-
if
note
.
attachment
.
url
-
if
note
.
attachment
.
url
.note-attachment
.note-attachment
-
if
note
.
attachment
.
image?
-
if
note
.
attachment
.
image?
...
...
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