uppercase domain name in title, promote status of internationalised domains for IDNs

parent 5f21fa49
......@@ -459,10 +459,16 @@
// process a domain
function processDomain(object, dl, toplevel=false) {
if (toplevel) document.title = 'Domain ' + object.ldhName + ' - RDAP Lookup';
if (toplevel) document.title = 'Domain ' + (object.unicodeName ? object.unicodeName : object.ldhName).toUpperCase() + ' - RDAP Lookup';
addProperty(dl, 'Name:', object.ldhName);
if (object.unicodeName) addProperty(dl, 'Internationalised Domain Name:', object.unicodeName);
if (object.unicodeName) {
addProperty(dl, 'Name:', object.unicodeName);
addProperty(dl, 'ASCII Name:', object.ldhName);
} else {
addProperty(dl, 'Name:', object.ldhName);
}
if (object.handle) addProperty(dl, 'Handle:', object.handle);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment