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>2023-06-09 15:11:14 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-09 15:11:14 +0300
commit3fd585614449ccab7fdab083f210c09eb16a6ed2 (patch)
tree225d8bdfcd0bfd5efe0da44348dd97be558be288 /app/assets/javascripts/issuable
parent8b50d36626f3a71a2d8552a316d700510559b0de (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.vue5
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="{