BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
56ce8874
Commit
56ce8874
authored
Apr 25, 2017
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10860-stable-task-lists-wrap' into '9-1-stable'
Wrap MR content -stable branch See merge request !10914
parents
7d10817c
e1e186bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
13 deletions
+24
-13
notes.scss
app/assets/stylesheets/pages/notes.scss
+9
-0
_note.html.haml
app/views/projects/notes/_note.html.haml
+15
-13
No files found.
app/assets/stylesheets/pages/notes.scss
View file @
56ce8874
...
@@ -374,6 +374,15 @@ ul.notes {
...
@@ -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
* Actions for Discussions/Notes
*/
*/
...
...
app/views/projects/notes/_note.html.haml
View file @
56ce8874
...
@@ -12,19 +12,21 @@
...
@@ -12,19 +12,21 @@
=
image_tag
avatar_icon
(
note
.
author
),
alt:
''
,
class:
'avatar s40'
=
image_tag
avatar_icon
(
note
.
author
),
alt:
''
,
class:
'avatar s40'
.timeline-content
.timeline-content
.note-header
.note-header
%a
.visible-xs
{
href:
user_path
(
note
.
author
)
}
.note-header-info
=
note
.
author
.
to_reference
%a
{
href:
user_path
(
note
.
author
)
}
=
link_to_member
(
note
.
project
,
note
.
author
,
avatar:
false
,
extra_class:
'hidden-xs'
)
%span
.hidden-xs
.note-headline-light
=
sanitize
(
note
.
author
.
name
)
%span
.hidden-xs
%span
.note-headline-light
=
note
.
author
.
to_reference
=
note
.
author
.
to_reference
-
unless
note
.
system
%span
.note-headline-light
commented
%span
.note-headline-meta
-
if
note
.
system
-
unless
note
.
system
%span
.system-note-message
commented
=
note
.
redacted_note_html
-
if
note
.
system
%a
{
href:
"##{dom_id(note)}"
}
%span
.system-note-message
=
time_ago_with_tooltip
(
note
.
created_at
,
placement:
'bottom'
,
html_class:
'note-created-ago'
)
=
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?
-
unless
note
.
system?
.note-actions
.note-actions
-
access
=
note_max_access_for_user
(
note
)
-
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