diff options
author | silverwind <me@silverwind.io> | 2023-06-20 05:32:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-20 03:32:49 +0000 |
commit | ef6f5f01242421fd9df832f6143ed21693938838 (patch) | |
tree | 4e2c4a0262aabc31f44e034ec395c6c2eab923d4 /templates/base | |
parent | 33cd74ad70591c36dfd1d14bd75f3eb1c2f28906 (diff) | |
download | gitea-ef6f5f01242421fd9df832f6143ed21693938838.tar.gz gitea-ef6f5f01242421fd9df832f6143ed21693938838.zip |
rename tributeValues to mentionValues (#25375)
Very simple change, just rename this variable so it does not feature the
name of the module.
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/head_script.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/head_script.tmpl b/templates/base/head_script.tmpl index b6475a83cd..c7477ff4c0 100644 --- a/templates/base/head_script.tmpl +++ b/templates/base/head_script.tmpl @@ -17,7 +17,7 @@ If you introduce mistakes in it, Gitea JavaScript code wouldn't run correctly. notificationSettings: {{NotificationSettings}}, {{/*a map provided by NewFuncMap in helper.go*/}} enableTimeTracking: {{EnableTimetracking}}, {{if or .Participants .Assignees .MentionableTeams}} - tributeValues: Array.from(new Map([ + mentionValues: Array.from(new Map([ {{- range .Participants -}} ['{{.Name}}', {key: '{{.Name}} {{.FullName}}', value: '{{.Name}}', name: '{{.Name}}', fullname: '{{.FullName}}', avatar: '{{.AvatarLink $.Context}}'}], {{- end -}} |