diff options
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/head.tmpl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 7d35664c7b..51d60c46f8 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -44,7 +44,7 @@ EventSourceUpdateTime: {{NotificationSettings.EventSourceUpdateTime}}, }, PageIsProjects: {{if .PageIsProjects }}true{{else}}false{{end}}, - {{if .RequireTribute}} + {{if .RequireTribute}} tributeValues: Array.from(new Map([ {{ range .Participants }} ['{{.Name}}', {key: '{{.Name}} {{.FullName}}', value: '{{.Name}}', @@ -54,6 +54,10 @@ ['{{.Name}}', {key: '{{.Name}} {{.FullName}}', value: '{{.Name}}', name: '{{.Name}}', fullname: '{{.FullName}}', avatar: '{{.RelAvatarLink}}'}], {{ end }} + {{ range .MentionableTeams }} + ['{{$.MentionableTeamsOrg}}/{{.Name}}', {key: '{{$.MentionableTeamsOrg}}/{{.Name}}', value: '{{$.MentionableTeamsOrg}}/{{.Name}}', + name: '{{$.MentionableTeamsOrg}}/{{.Name}}', avatar: '{{$.MentionableTeamsOrgAvator}}'}], + {{ end }} ]).values()), {{end}} }; |