From 17f156c5dd06778e22e46f46f48fd9da3000f4b4 Mon Sep 17 00:00:00 2001 From: Alex Sherman Date: Thu, 7 May 2020 14:47:25 +0500 Subject: [PATCH] Add registration deadline if any to inactive domain info --- app/views/whois_record/inactive.erb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/whois_record/inactive.erb b/app/views/whois_record/inactive.erb index fb8a7eb..e052ba9 100644 --- a/app/views/whois_record/inactive.erb +++ b/app/views/whois_record/inactive.erb @@ -5,10 +5,14 @@ Estonia .ee Top Level Domain WHOIS server Domain: -name: <%= json['name'] %> +name: <%= json['name'] %> <%- for st in Array(json['status']) -%> -status: <%= st %> +status: <%= st %> <%- end -%> +<%- if json['registration_deadline'] -%> +registration deadline: <%= json['registration_deadline'] %> +<%- end -%> + Estonia .ee Top Level Domain WHOIS server More information at http://internet.ee