hsa-app/internal/web/templates/confirm.html

9 lines
537 B
HTML
Raw Normal View History

{{define "title"}}Saved{{end}}
{{define "content"}}
<p class="ok">✓ Receipt saved</p>
<p>{{.Category}}{{if .Who}} · {{.Who}}{{end}} — ${{.Amount}} — {{.Date}}<br>{{.Filename}}</p>
{{if .Attachments}}<p><small>+ {{len .Attachments}} attachment(s): {{range $i, $f := .Attachments}}{{if $i}}, {{end}}{{$f}}{{end}}</small></p>{{end}}
<a class="button green" href="/">Add another</a>
<p style="text-align:center;margin-top:1rem"><a href="/manage">Manage</a> · <a href="/export">Export</a> · <a href="/logout">Log out</a></p>
{{end}}