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-09-19 03:12:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-09-19 03:12:30 +0300
commit3024d3ac9e2c7242cd3cfce70b6c103f357fa6a9 (patch)
treeedcc7209e241f55d20c195463d1cb7ffdfe66f18 /app/services/system_notes
parent3c5025227f284c91f95bea8dc095efc880b67812 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/system_notes')
-rw-r--r--app/services/system_notes/issuables_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/system_notes/issuables_service.rb b/app/services/system_notes/issuables_service.rb
index 9d6b43634ec..04ae734a8fe 100644
--- a/app/services/system_notes/issuables_service.rb
+++ b/app/services/system_notes/issuables_service.rb
@@ -350,12 +350,12 @@ module SystemNotes
# Returns the created Note object
def change_issue_confidentiality
if noteable.confidential
- body = 'made the issue confidential'
+ body = "made the #{noteable_name} confidential"
action = 'confidential'
track_issue_event(:track_issue_made_confidential_action)
else
- body = 'made the issue visible to everyone'
+ body = "made the #{noteable_name} visible to everyone"
action = 'visible'
track_issue_event(:track_issue_made_visible_action)