Commit 27afa945 authored by Constance Okoghenun's avatar Constance Okoghenun

Added note header info slot to notes component

parent 5b9d7c47
...@@ -218,6 +218,7 @@ export default { ...@@ -218,6 +218,7 @@ export default {
<div class="timeline-content"> <div class="timeline-content">
<div class="note-header"> <div class="note-header">
<note-header v-once :author="author" :created-at="note.created_at" :note-id="note.id"> <note-header v-once :author="author" :created-at="note.created_at" :note-id="note.id">
<slot slot="note-header-info" name="note-header-info"></slot>
<span v-if="commit"> <span v-if="commit">
{{ s__('MergeRequests|commented on commit ') {{ s__('MergeRequests|commented on commit ')
}}<a class="commit-sha monospace" :href="commit.url">{{ truncatedHash }}</a> }}<a class="commit-sha monospace" :href="commit.url">{{ truncatedHash }}</a>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment