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
e1e186bb
Commit
e1e186bb
authored
Apr 25, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrap MR content -stable branch
parent
7d10817c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
13 deletions
+24
-13
app/assets/stylesheets/pages/notes.scss
app/assets/stylesheets/pages/notes.scss
+9
-0
app/views/projects/notes/_note.html.haml
app/views/projects/notes/_note.html.haml
+15
-13
No files found.
app/assets/stylesheets/pages/notes.scss
View file @
e1e186bb
...
...
@@ -374,6 +374,15 @@ ul.notes {
}
}
.note-headline-meta
{
display
:
inline-block
;
white-space
:
nowrap
;
.system-note-message
{
white-space
:
normal
;
}
}
/**
* Actions for Discussions/Notes
*/
...
...
app/views/projects/notes/_note.html.haml
View file @
e1e186bb
...
...
@@ -12,19 +12,21 @@
=
image_tag
avatar_icon
(
note
.
author
),
alt:
''
,
class:
'avatar s40'
.timeline-content
.note-header
%a
.visible-xs
{
href:
user_path
(
note
.
author
)
}
=
note
.
author
.
to_reference
=
link_to_member
(
note
.
project
,
note
.
author
,
avatar:
false
,
extra_class:
'hidden-xs'
)
.note-headline-light
%span
.hidden-xs
=
note
.
author
.
to_reference
-
unless
note
.
system
commented
-
if
note
.
system
%span
.system-note-message
=
note
.
redacted_note_html
%a
{
href:
"##{dom_id(note)}"
}
=
time_ago_with_tooltip
(
note
.
created_at
,
placement:
'bottom'
,
html_class:
'note-created-ago'
)
.note-header-info
%a
{
href:
user_path
(
note
.
author
)
}
%span
.hidden-xs
=
sanitize
(
note
.
author
.
name
)
%span
.note-headline-light
=
note
.
author
.
to_reference
%span
.note-headline-light
%span
.note-headline-meta
-
unless
note
.
system
commented
-
if
note
.
system
%span
.system-note-message
=
note
.
redacted_note_html
%a
{
href:
"##{dom_id(note)}"
}
=
time_ago_with_tooltip
(
note
.
created_at
,
placement:
'bottom'
,
html_class:
'note-created-ago'
)
-
unless
note
.
system?
.note-actions
-
access
=
note_max_access_for_user
(
note
)
...
...
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