Removed those fields from the mail body that are already included in the subject
This commit is contained in:
parent
734ae592ef
commit
f753a368b7
1 changed files with 2 additions and 4 deletions
|
@ -8,12 +8,10 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const DEFAULT_SUBJECT_TEMPLATE = "{{ if .Status }}{{.Status}} {{ end }}[{{.Classification}}] {{.Title}}"
|
const DEFAULT_SUBJECT_TEMPLATE = "{{ if .Status }}{{.Status}} {{ end }}[{{.Classification}}] {{.Title}}"
|
||||||
const DEFAULT_BODY_TEMPLATE = `{{.Name}} - "{{.Title}}" with classification '{{.Classification}}'
|
const DEFAULT_BODY_TEMPLATE = `{{.Name}}
|
||||||
Link: {{.PortalUrl}}
|
{{.PortalUrl}}
|
||||||
|
|
||||||
Published: {{.Published}}
|
Published: {{.Published}}
|
||||||
{{ if .Status }}Status: {{.Status}}
|
|
||||||
{{ end -}}
|
|
||||||
{{ if gt .Basescore -1 }}Basescore: {{.Basescore}}
|
{{ if gt .Basescore -1 }}Basescore: {{.Basescore}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ if eq .NoPatch "true" }}There is no patch available at the moment!
|
{{ if eq .NoPatch "true" }}There is no patch available at the moment!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue