Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-09-12 18:14:03 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-12 18:14:03 +0300
commita75c69379b2cc15b8851aa61e874b06ea5856f83 (patch)
treee3927c8a1b9ed1b35543cc3a10624e55b9fbb9dc /app/assets/javascripts/notes
parent07d9675a80861fe84199e4002667f0bd57c160bf (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.vue15
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"