Fix bug with unregistered domains not having owners (duh)

This commit is contained in:
Chandler Swift 2021-10-18 22:38:48 -05:00
parent e9b924f1f1
commit b5b9f8da3a
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -31,9 +31,9 @@
<dl> <dl>
<dt>Fetched</dt> <dt>Fetched</dt>
<dd>{{.FetchTime.Format "Mon Jan 2 15:04:05 -0700 MST 2006" }}</dd> <dd>{{.FetchTime.Format "Mon Jan 2 15:04:05 -0700 MST 2006" }}</dd>
{{if not .Available}}
<dt>Owner</dt> <dt>Owner</dt>
<dd><a href="mailto:{{.Registrant.Email}}">{{.Registrant.Name}} &lt;{{.Registrant.Email}}&gt</a></dd> <dd><a href="mailto:{{.Registrant.Email}}">{{.Registrant.Name}} &lt;{{.Registrant.Email}}&gt</a></dd>
{{if not .Available}}
<dt>Since</dt> <dt>Since</dt>
<dd>{{(parseTime .DomainInfo.CreatedDate).Format "Mon Jan 2 2006" }}</dd> <dd>{{(parseTime .DomainInfo.CreatedDate).Format "Mon Jan 2 2006" }}</dd>
{{end}} {{end}}