Skip to content
Snippets Groups Projects

Display Contributor and Author badges on notes

Merged Mycroft Kang requested to merge TaehyeokKang/gitlab:mycroft-note-badge into master
4 unresolved threads
Compare and Show latest version
21 files
+ 207
96
Compare changes
  • Side-by-side
  • Inline
Files
21
@@ -61,10 +61,12 @@ export default {
noteableType: {
type: String,
required: false,
default: null,
},
projectName: {
type: String,
required: false,
default: null,
},
showReply: {
type: Boolean,
@@ -158,7 +160,8 @@ export default {
});
},
displayMemberBadgeText() {
return sprintf(__('This user is a member of the %{name} project.'), {
return sprintf(__('This user is a %{access} of the %{name} project.'), {
access: this.accessLevel.toLowerCase(),
name: this.projectName,
});
},
Loading