Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
# frozen_string_literal: true
module Gitlab
module SlashCommands
module Presenters
module NoteBase
GREEN = '#38ae67'
def color(_)
GREEN
end
def issue
resource.noteable
def project
issue.project
def author
resource.author
def fields
[
{
title: 'Comment',
value: resource.note
}
]
private
attr_reader :resource