This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user