diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-19 03:12:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-19 03:12:30 +0300 |
commit | 3024d3ac9e2c7242cd3cfce70b6c103f357fa6a9 (patch) | |
tree | edcc7209e241f55d20c195463d1cb7ffdfe66f18 /app/services/system_notes | |
parent | 3c5025227f284c91f95bea8dc095efc880b67812 (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.rb | 4 |
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) |