diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-09 15:11:14 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-09 15:11:14 +0300 |
commit | 3fd585614449ccab7fdab083f210c09eb16a6ed2 (patch) | |
tree | 225d8bdfcd0bfd5efe0da44348dd97be558be288 /app/assets/javascripts/issuable | |
parent | 8b50d36626f3a71a2d8552a316d700510559b0de (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/issuable')
-rw-r--r-- | app/assets/javascripts/issuable/components/issuable_header_warnings.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/assets/javascripts/issuable/components/issuable_header_warnings.vue b/app/assets/javascripts/issuable/components/issuable_header_warnings.vue index 403997779ac..eab7d01be14 100644 --- a/app/assets/javascripts/issuable/components/issuable_header_warnings.vue +++ b/app/assets/javascripts/issuable/components/issuable_header_warnings.vue @@ -40,6 +40,9 @@ export default { iconName: 'lock', visible: this.isLocked, dataTestId: 'locked', + tooltip: sprintf(__('This %{issuable} is locked. Only project members can comment.'), { + issuable: noteableTypeText[this.getNoteableData.targetType], + }), }, { iconName: 'spam', @@ -67,7 +70,7 @@ export default { <div v-if="meta.visible" :key="meta.iconName" - v-gl-tooltip + v-gl-tooltip.bottom :data-testid="meta.dataTestId" :title="meta.tooltip || null" :class="{ |