浏览代码

In issue comments, put issue participants also in completion list when hitting @ (#12433)

Previous behaviour was only to have completion for project members
tags/v1.13.0-rc1
Andreas Shimokawa 3 年前
父节点
当前提交
e5c5080f26
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 8 次插入4 次删除
  1. 8
    4
      templates/base/head.tmpl

+ 8
- 4
templates/base/head.tmpl 查看文件

@@ -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>

正在加载...
取消
保存