diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-12 18:14:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-12 18:14:03 +0300 |
commit | a75c69379b2cc15b8851aa61e874b06ea5856f83 (patch) | |
tree | e3927c8a1b9ed1b35543cc3a10624e55b9fbb9dc /app/assets/javascripts/notes | |
parent | 07d9675a80861fe84199e4002667f0bd57c160bf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/notes')
-rw-r--r-- | app/assets/javascripts/notes/components/note_header.vue | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/app/assets/javascripts/notes/components/note_header.vue b/app/assets/javascripts/notes/components/note_header.vue index 46669a752b2..f700802d6bc 100644 --- a/app/assets/javascripts/notes/components/note_header.vue +++ b/app/assets/javascripts/notes/components/note_header.vue @@ -186,27 +186,34 @@ export default { :data-username="author.username" > <span - v-if="glFeatures.removeUserAttributes" + v-if="glFeatures.removeUserAttributesProjects || glFeatures.removeUserAttributesGroups" class="note-header-author-name gl-font-weight-bold" > {{ authorName }} </span> <user-name-with-status - v-if="!glFeatures.removeUserAttributes" + v-else :name="authorName" :availability="userAvailability(author)" container-classes="note-header-author-name gl-font-weight-bold" /> </a> <span - v-if="authorStatus && !glFeatures.removeUserAttributes" + v-if=" + authorStatus && + !glFeatures.removeUserAttributesProjects && + !glFeatures.removeUserAttributesGroups + " ref="authorStatus" v-safe-html:[$options.safeHtmlConfig]="authorStatus" v-on=" authorStatusHasTooltip ? { mouseenter: removeEmojiTitle, mouseleave: addEmojiTitle } : {} " ></span> - <span v-if="!glFeatures.removeUserAttributes" class="text-nowrap author-username"> + <span + v-if="!glFeatures.removeUserAttributesProjects && !glFeatures.removeUserAttributesGroups" + class="text-nowrap author-username" + > <a ref="authorUsernameLink" class="author-username-link" |