Resolve "Remove “commented” from comment system notes"

This commit is contained in:
Constance Okoghenun 2018-06-19 16:43:57 +00:00 committed by Mike Greiling
parent 0397b8134f
commit dea03a0815
3 changed files with 0 additions and 4 deletions

View file

@ -170,7 +170,6 @@ export default {
:author="author" :author="author"
:created-at="note.created_at" :created-at="note.created_at"
:note-id="note.id" :note-id="note.id"
action-text="commented"
/> />
<note-actions <note-actions
:author-id="author.id" :author-id="author.id"

View file

@ -36,8 +36,6 @@
= note.author.to_reference = note.author.to_reference
%span.note-headline-light %span.note-headline-light
%span.note-headline-meta %span.note-headline-meta
- unless note.system
commented
- if note.system - if note.system
%span.system-note-message %span.system-note-message
= markdown_field(note, :note) = markdown_field(note, :note)

View file

@ -32,7 +32,6 @@ describe('issue_note', () => {
it('should render note header content', () => { it('should render note header content', () => {
expect(vm.$el.querySelector('.note-header .note-header-author-name').textContent.trim()).toEqual(note.author.name); expect(vm.$el.querySelector('.note-header .note-header-author-name').textContent.trim()).toEqual(note.author.name);
expect(vm.$el.querySelector('.note-header .note-headline-meta').textContent.trim()).toContain('commented');
}); });
it('should render note actions', () => { it('should render note actions', () => {