|
|
|
@ -78,12 +78,16 @@
|
|
|
|
|
EventSourceUpdateTime: {{NotificationSettings.EventSourceUpdateTime}},
|
|
|
|
|
},
|
|
|
|
|
{{if .RequireTribute}}
|
|
|
|
|
tributeValues: [
|
|
|
|
|
tributeValues: Array.from(new Map([
|
|
|
|
|
{{ range .Participants }}
|
|
|
|
|
['{{.Name}}', {key: '{{.Name}} {{.FullName}}', value: '{{.Name}}',
|
|
|
|
|
name: '{{.Name}}', fullname: '{{.FullName}}', avatar: '{{.RelAvatarLink}}'}],
|
|
|
|
|
{{ end }}
|
|
|
|
|
{{ range .Assignees }}
|
|
|
|
|
{key: '{{.Name}} {{.FullName}}', value: '{{.Name}}',
|
|
|
|
|
name: '{{.Name}}', fullname: '{{.FullName}}', avatar: '{{.RelAvatarLink}}'},
|
|
|
|
|
['{{.Name}}', {key: '{{.Name}} {{.FullName}}', value: '{{.Name}}',
|
|
|
|
|
name: '{{.Name}}', fullname: '{{.FullName}}', avatar: '{{.RelAvatarLink}}'}],
|
|
|
|
|
{{ end }}
|
|
|
|
|
],
|
|
|
|
|
]).values()),
|
|
|
|
|
{{end}}
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|