ui: show duration for request

This commit is contained in:
Alexander Baryshnikov 2020-10-10 17:45:24 +08:00
parent 38935d4657
commit 9c9e79be15
2 changed files with 2 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -44,6 +44,7 @@
<dd class="col-sm-9">
{{if .Request.Complete}}
{{.Request.CompleteAt.Format "02 Jan 06 15:04:05.000 MST"}}
<footer class="blockquote-footer">after {{.Request.CompleteAt.Sub .Request.CreatedAt}}</footer>
{{else}}
in progress
{{end}}