diff --git a/assets/templates/html/pasteMeta.html.tmpl b/assets/templates/html/pasteMeta.html.tmpl index dbbf7bc..9056290 100644 --- a/assets/templates/html/pasteMeta.html.tmpl +++ b/assets/templates/html/pasteMeta.html.tmpl @@ -20,10 +20,18 @@ with delete token: <unknown> {{end -}} type: {{.Paste.Type}} state: {{.Paste.State}} -{{if .Paste.TimeCreated.IsZero -}} +{{if .Paste.CreatedAt.IsZero -}} created: unknown {{else -}} -created: {{.Paste.TimeCreated}} +created: {{.Paste.CreatedAt}} +{{end -}} +{{if .Paste.UpdatedAt.IsZero -}} +last updated: unknown +{{else -}} +last updated: {{.Paste.UpdatedAt}} +{{end -}} +{{if .Paste.DeletedAt.Valid -}} +deleted at: {{.Paste.DeletedAt.Time}} {{end -}} delete token: {{.CanDeleteString}}