feat: better flags
All checks were successful
Go / build (push) Successful in 38s

This commit is contained in:
2025-11-04 21:15:05 +01:00
parent cfbb475a42
commit e5169ee0c4
11 changed files with 57 additions and 731 deletions

View File

@@ -82,10 +82,14 @@
<article>
<div class="issue-title">
<h3>
<span style="font-family: monospace">{{ .Shorthand }}</span>: {{
.Title }}
<a href="{{ .HTMLURL }}" style="font-family: monospace"
>{{ .Shorthand }}</a
>: {{ .Title }}
</h3>
<p>Fertiggestellt: {{ .Closed | time }}</p>
<p>
{{ if .Closed }} Fertiggestellt: {{ .Closed | time }} {{else}} not
closed {{ end }}
</p>
</div>
{{ .CleanBody | md | oh 3 }}
</article>

View File

@@ -35,11 +35,11 @@ func (r Report) ToHTML() (html string, err error) {
err = tmpl.Execute(buf, tmpler{r, style})
if err != nil {
return
return html, err
}
html = buf.String()
return
return html, err
}
func (r Report) applyRate(dur time.Duration) string {