Add dot to separate system notes content
This commit is contained in:
parent
f667bbceab
commit
6a10ed3ff2
5 changed files with 18 additions and 5 deletions
|
@ -78,10 +78,13 @@ export default {
|
|||
v-html="actionTextHtml"
|
||||
class="system-note-message">
|
||||
</span>
|
||||
<span class="system-note-separator">
|
||||
·
|
||||
</span>
|
||||
<a
|
||||
:href="noteTimestampLink"
|
||||
@click="updateTargetNoteHash"
|
||||
class="note-timestamp">
|
||||
class="note-timestamp system-note-separator">
|
||||
<time-ago-tooltip
|
||||
:time="createdAt"
|
||||
tooltip-placement="bottom"
|
||||
|
|
|
@ -40,7 +40,7 @@ export default {
|
|||
:class="cssClass"
|
||||
:title="tooltipTitle(time)"
|
||||
:data-placement="tooltipPlacement"
|
||||
data-container="body">
|
||||
{{ timeFormated(time) }}
|
||||
data-container="body"
|
||||
v-text="timeFormated(time)">
|
||||
</time>
|
||||
</template>
|
||||
|
|
|
@ -459,6 +459,10 @@ ul.notes {
|
|||
white-space: normal;
|
||||
}
|
||||
|
||||
.system-note-separator {
|
||||
color: $gl-text-color-disabled;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
|
|
@ -41,8 +41,9 @@
|
|||
- if note.system
|
||||
%span.system-note-message
|
||||
= markdown_field(note, :note)
|
||||
%a{ href: "##{dom_id(note)}" }
|
||||
= time_ago_with_tooltip(note.created_at, placement: 'bottom', html_class: 'note-created-ago')
|
||||
%span.system-note-separator
|
||||
·
|
||||
%a.system-note-separator{ href: "##{dom_id(note)}" }= time_ago_with_tooltip(note.created_at, placement: 'bottom', html_class: 'note-created-ago')
|
||||
- unless note.system?
|
||||
.note-actions
|
||||
- if note.for_personal_snippet?
|
||||
|
|
5
changelogs/unreleased/jivl-add-dot-system-notes.yml
Normal file
5
changelogs/unreleased/jivl-add-dot-system-notes.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Add dot to separate system notes content
|
||||
merge_request: 18864
|
||||
author:
|
||||
type: changed
|
Loading…
Reference in a new issue