소스 검색

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
No account linked to committer's email address
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>

Loading…
취소
저장