Rename the email field in UI and include rlock email if it exists (#697)

* Rename the email field in UI and include rlock email if it exists

* Change the capitalization of fields and titles and add a description
This commit is contained in:
gbrodman 2020-07-23 14:30:12 -04:00 committed by GitHub
parent 9b7f6ce500
commit cadecb15d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 16 additions and 10 deletions

View file

@ -107,7 +107,7 @@
{@param readonly: bool} {@param readonly: bool}
{@param? registryLockAllowedForRegistrar: bool} {@param? registryLockAllowedForRegistrar: bool}
<form name="item" class="{css('item')} {css('registrar')}"> <form name="item" class="{css('item')} {css('registrar')}">
<h1>Contact Details</h1> <h1>Contact details</h1>
{call .contactInfo data="all"} {call .contactInfo data="all"}
{param namePrefix: $namePrefix /} {param namePrefix: $namePrefix /}
{param item: $item /} {param item: $item /}
@ -142,11 +142,21 @@
{param name: 'name' /} {param name: 'name' /}
{/call} {/call}
{call registry.soy.forms.inputFieldRow data="all"} {call registry.soy.forms.inputFieldRow data="all"}
{param label: 'Email' /} {param label: 'Primary account email' /}
{param namePrefix: $namePrefix /} {param namePrefix: $namePrefix /}
{param name: 'emailAddress' /} {param name: 'emailAddress' /}
{param disabled: not $readonly and $item['emailAddress'] != null /} {param disabled: not $readonly and $item['emailAddress'] != null /}
{/call} {/call}
{if isNonnull($item['registryLockEmailAddress'])}
{call registry.soy.forms.inputFieldRow data="all"}
{param label: 'Registry lock email address' /}
{param namePrefix: $namePrefix /}
{param name: 'registryLockEmailAddress' /}
{param disabled: not $readonly /}
{param description: 'Address to which registry (un)lock confirmation emails will be ' +
'sent. This is not necessarily the account email address that is used for login.' /}
{/call}
{/if}
{call registry.soy.forms.inputFieldRow data="all"} {call registry.soy.forms.inputFieldRow data="all"}
{param label: 'Phone' /} {param label: 'Phone' /}
{param namePrefix: $namePrefix /} {param namePrefix: $namePrefix /}
@ -176,10 +186,6 @@
{if isNonnull($item['gaeUserId'])} {if isNonnull($item['gaeUserId'])}
<input type="hidden" name="{$namePrefix}gaeUserId" value="{$item['gaeUserId']}"> <input type="hidden" name="{$namePrefix}gaeUserId" value="{$item['gaeUserId']}">
{/if} {/if}
{if isNonnull($item['registryLockEmailAddress'])}
<input type="hidden" name="{$namePrefix}registryLockEmailAddress"
value="{$item['registryLockEmailAddress']}">
{/if}
</div> </div>
{/template} {/template}
@ -282,19 +288,19 @@
<hr> <hr>
</tr> </tr>
{call .whoisVisibleRadios_} {call .whoisVisibleRadios_}
{param description: 'Show in Registrar WHOIS record as Admin contact' /} {param description: 'Show in Registrar WHOIS record as admin contact' /}
{param fieldName: $namePrefix + 'visibleInWhoisAsAdmin' /} {param fieldName: $namePrefix + 'visibleInWhoisAsAdmin' /}
{param visible: $item['visibleInWhoisAsAdmin'] == true /} {param visible: $item['visibleInWhoisAsAdmin'] == true /}
{/call} {/call}
{call .whoisVisibleRadios_} {call .whoisVisibleRadios_}
{param description: 'Show in Registrar WHOIS record as Technical contact' /} {param description: 'Show in Registrar WHOIS record as technical contact' /}
{param fieldName: $namePrefix + 'visibleInWhoisAsTech' /} {param fieldName: $namePrefix + 'visibleInWhoisAsTech' /}
{param visible: $item['visibleInWhoisAsTech'] == true /} {param visible: $item['visibleInWhoisAsTech'] == true /}
{/call} {/call}
{call .whoisVisibleRadios_} {call .whoisVisibleRadios_}
{param description: {param description:
'Show Phone and Email in Domain WHOIS Record as Registrar Abuse Contact' + 'Show Phone and Email in Domain WHOIS Record as registrar abuse contact' +
' (Per CL&D Requirements)' /} ' (per CL&D requirements)' /}
{param note: {param note:
'*Can only apply to one contact. Selecting Yes for this contact will' + '*Can only apply to one contact. Selecting Yes for this contact will' +
' force this setting for all other contacts to be No.' /} ' force this setting for all other contacts to be No.' /}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Before After
Before After