refactor bug report response to use embedded template for report formatting

This commit is contained in:
Flavio Fois
2026-03-18 09:40:10 +01:00
parent f0181aafba
commit 15ef46d413
2 changed files with 47 additions and 18 deletions

View File

@@ -0,0 +1,22 @@
EMLy Bug Report #{{ .ID }}
========================
Name: {{ .Name }}
Email: {{ .Email }}
Hostname: {{ .Hostname }}
OS User: {{ .OsUser }}
HWID: {{ .HWID }}
IP: {{ .SubmitterIP }}
Status: {{ .Status }}
Created: {{ .CreatedAt }}
Updated: {{ .UpdatedAt }}
Description:
------------
{{ .Description }}
{{ if .SystemInfo }}
System Info:
------------
{{ .SystemInfo }}
{{ end }}